From 9a33089bb2340338355e2d8153f8e91c4fcafb4b Mon Sep 17 00:00:00 2001 From: zirain Date: Tue, 30 Apr 2024 20:09:51 +0800 Subject: [PATCH] e2e: disable unstable tests (#3306) * e2e: disable unstable tests Signed-off-by: zirain * ref issue Signed-off-by: zirain * disable EnvoyShutdownTest Signed-off-by: zirain --------- Signed-off-by: zirain --- test/e2e/e2e_test.go | 3 +++ test/e2e/merge_gateways/merge_gateways_test.go | 6 ++++-- test/e2e/upgrade/eg_upgrade_test.go | 3 +++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index 46e0fb30bec..3159f0bd2a4 100644 --- a/test/e2e/e2e_test.go +++ b/test/e2e/e2e_test.go @@ -51,6 +51,9 @@ func TestE2E(t *testing.T) { CleanupBaseResources: *flags.CleanupBaseResources, FS: &Manifests, RunTest: *flags.RunTest, + SkipTests: []string{ + tests.ClientTimeoutTest.ShortName, // https://github.com/envoyproxy/gateway/issues/2720 + }, }) cSuite.Setup(t) diff --git a/test/e2e/merge_gateways/merge_gateways_test.go b/test/e2e/merge_gateways/merge_gateways_test.go index 30e82aa6cdd..9c056875c32 100644 --- a/test/e2e/merge_gateways/merge_gateways_test.go +++ b/test/e2e/merge_gateways/merge_gateways_test.go @@ -52,14 +52,16 @@ func TestMergeGateways(t *testing.T) { Debug: *flags.ShowDebug, CleanupBaseResources: *flags.CleanupBaseResources, RunTest: *flags.RunTest, + SkipTests: []string{ + tests.MergeGatewaysTest.ShortName, // https://github.com/envoyproxy/gateway/issues/3290 + }, }) // Setting up the necessary arguments for the suite instead of calling Suite.Setup method again, // since this test suite reuse the base resources of previous test suite. cSuite.Applier.FS = e2e.Manifests cSuite.Applier.GatewayClass = *flags.GatewayClassName - cSuite.ControllerName = kubernetes.GWCMustHaveAcceptedConditionTrue(t, - cSuite.Client, cSuite.TimeoutConfig, cSuite.GatewayClassName) + cSuite.ControllerName = kubernetes.GWCMustHaveAcceptedConditionTrue(t, cSuite.Client, cSuite.TimeoutConfig, cSuite.GatewayClassName) t.Logf("Running %d MergeGateways tests", len(tests.MergeGatewaysTests)) cSuite.Run(t, tests.MergeGatewaysTests) diff --git a/test/e2e/upgrade/eg_upgrade_test.go b/test/e2e/upgrade/eg_upgrade_test.go index a1be622cb0f..6ad83b14bd4 100644 --- a/test/e2e/upgrade/eg_upgrade_test.go +++ b/test/e2e/upgrade/eg_upgrade_test.go @@ -52,6 +52,9 @@ func TestEGUpgrade(t *testing.T) { CleanupBaseResources: *flags.CleanupBaseResources, FS: &e2e.Manifests, RunTest: *flags.RunTest, + SkipTests: []string{ + tests.EnvoyShutdownTest.ShortName, // https://github.com/envoyproxy/gateway/issues/3262 + }, }) cSuite.Setup(t)