Don't execute the seal recovery tests on ENT. (#18841)

* Don't execute the seal recovery tests on OSS.

* correct go:build syntax
This commit is contained in:
Scott Miller 2023-01-25 15:35:15 -06:00 committed by GitHub
parent f4eed5cb31
commit af7df08921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

View File

@ -0,0 +1,10 @@
//go:build !enterprise
package sealmigration
import "testing"
func TestSealMigration_TransitToShamir_Recovery(t *testing.T) {
t.Parallel()
testVariousBackends(t, ParamTestSealMigrationTransitToShamir_Recovery, BasePort_TransitToShamir_Recovery, true)
}

View File

@ -59,11 +59,6 @@ func TestSealMigration_TransitToShamir_Post14(t *testing.T) {
testVariousBackends(t, ParamTestSealMigrationTransitToShamir_Post14, BasePort_TransitToShamir_Post14, true)
}
func TestSealMigration_TransitToShamir_Recovery(t *testing.T) {
t.Parallel()
testVariousBackends(t, ParamTestSealMigrationTransitToShamir_Recovery, BasePort_TransitToShamir_Recovery, true)
}
// TestSealMigration_TransitToTransit tests transit-to-shamir seal
// migration, using the post-1.4 method of bring individual nodes in the
// cluster to do the migration.