Skip to content

Commit

Permalink
skip upgrade tests
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain committed Nov 16, 2024
1 parent b8fbbc6 commit 2e99335
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion test/e2e/upgrade/eg_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@ func TestEGUpgrade(t *testing.T) {
*flags.GatewayClassName, *flags.CleanupBaseResources, *flags.ShowDebug)
}

var skipTests []string
// previous did not support ipv6, so skip upgrade tests for ipv6
if tests.IPFamily == "ipv6" {
skipTests = append(skipTests,
tests.EnvoyShutdownTest.ShortName,
tests.EGUpgradeTest.ShortName,
)
}

cSuite, err := suite.NewConformanceTestSuite(suite.ConformanceOptions{
Client: c,
RestConfig: cfg,
Expand All @@ -46,7 +55,7 @@ func TestEGUpgrade(t *testing.T) {
RunTest: *flags.RunTest,
BaseManifests: "upgrade/manifests.yaml",
SupportedFeatures: sets.New[features.FeatureName](features.SupportGateway),
SkipTests: []string{},
SkipTests: skipTests,
})
if err != nil {
t.Fatalf("Failed to create test suite: %v", err)
Expand Down

0 comments on commit 2e99335

Please sign in to comment.