Skip to content

Commit

Permalink
Actually disable mesh gateway tests on kind! (#1351)
Browse files Browse the repository at this point in the history
  • Loading branch information
ishustava committed Jul 19, 2022
1 parent b000f68 commit f8a33e0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions acceptance/tests/mesh-gateway/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ var suite testsuite.Suite
func TestMain(m *testing.M) {
suite = testsuite.NewSuite(m)

if suite.Config().EnableMultiCluster {
os.Exit(suite.Run())
} else if suite.Config().UseKind {
if suite.Config().UseKind {
fmt.Println("Skipping mesh gateway tests because they are currently flaky on kind")
os.Exit(0)
}
if suite.Config().EnableMultiCluster {
os.Exit(suite.Run())
} else {
fmt.Println("Skipping mesh gateway tests because -enable-multi-cluster is not set")
os.Exit(0)
Expand Down

0 comments on commit f8a33e0

Please sign in to comment.