From 6018d3800cd4ee861d8cd868279b776845588c8e Mon Sep 17 00:00:00 2001 From: Iryna Shustava Date: Mon, 18 Jul 2022 09:11:33 -0600 Subject: [PATCH] Disable wan federation tests on kind because of flakiness Currently, WAN federation tests are flaky on kind. We need more time to investigate. Because these tests run on other clouds and are not flaky, we are disabling them on kind until we can investigate and re-enable them. --- acceptance/tests/mesh-gateway/main_test.go | 3 +++ acceptance/tests/vault/vault_wan_fed_test.go | 3 +++ 2 files changed, 6 insertions(+) diff --git a/acceptance/tests/mesh-gateway/main_test.go b/acceptance/tests/mesh-gateway/main_test.go index fb8935441e..1b57eb8552 100644 --- a/acceptance/tests/mesh-gateway/main_test.go +++ b/acceptance/tests/mesh-gateway/main_test.go @@ -15,6 +15,9 @@ func TestMain(m *testing.M) { if suite.Config().EnableMultiCluster { os.Exit(suite.Run()) + } else if suite.Config().UseKind { + fmt.Println("Skipping mesh gateway tests because they are currently flaky on kind") + os.Exit(0) } else { fmt.Println("Skipping mesh gateway tests because -enable-multi-cluster is not set") os.Exit(0) diff --git a/acceptance/tests/vault/vault_wan_fed_test.go b/acceptance/tests/vault/vault_wan_fed_test.go index 1d24614907..a58f45ee97 100644 --- a/acceptance/tests/vault/vault_wan_fed_test.go +++ b/acceptance/tests/vault/vault_wan_fed_test.go @@ -28,6 +28,9 @@ import ( // in the secondary that will treat the Vault server in the primary as an external server. func TestVault_WANFederationViaGateways(t *testing.T) { cfg := suite.Config() + if cfg.UseKind { + t.Skipf("Skipping this test because it's currently flaky on kind") + } if !cfg.EnableMultiCluster { t.Skipf("skipping this test because -enable-multi-cluster is not set") }