Skip to content

Commit

Permalink
skip multi
Browse files Browse the repository at this point in the history
  • Loading branch information
howardjohn committed May 8, 2024
1 parent 46f0d74 commit bdebf62
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/integration/pilot/multiplecontrolplanes/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ func TestMain(m *testing.M) {
RequireMultiPrimary().
// Requires two CPs with specific names to be configured.
Label(label.CustomSetup).
// We are deploying two isolated environments, which CNI doesn't support.
// We could deploy one of the usergroups as the CNI owner, but for now we skip
SkipIf("CNI is not suppored", func(ctx resource.Context) bool {
c, _ := istio.DefaultConfig(ctx)
return c.EnableCNI
}).
SetupParallel(
namespace.Setup(&userGroup1NS, namespace.Config{Prefix: "usergroup-1", Labels: map[string]string{"usergroup": "usergroup-1"}}),
namespace.Setup(&userGroup2NS, namespace.Config{Prefix: "usergroup-2", Labels: map[string]string{"usergroup": "usergroup-2"}})).
Expand Down

0 comments on commit bdebf62

Please sign in to comment.