diff --git a/test/integration/addons_test.go b/test/integration/addons_test.go index 9026ae49af..39ef582d76 100644 --- a/test/integration/addons_test.go +++ b/test/integration/addons_test.go @@ -121,7 +121,6 @@ func TestAddons(t *testing.T) { {"HelmTiller", validateHelmTillerAddon}, {"Olm", validateOlmAddon}, {"CSI", validateCSIDriverAndSnapshots}, - {"GCPAuth", validateGCPAuthAddon}, } for _, tc := range tests { tc := tc @@ -135,6 +134,25 @@ func TestAddons(t *testing.T) { } }) + // Run other tests after to avoid collision + t.Run("serial", func(t *testing.T) { + tests := []struct { + name string + validator validateFunc + }{ + {"GCPAuth", validateGCPAuthAddon}, + } + for _, tc := range tests { + tc := tc + if ctx.Err() == context.DeadlineExceeded { + t.Fatalf("Unable to run more tests (deadline exceeded)") + } + t.Run(tc.name, func(t *testing.T) { + tc.validator(ctx, t, profile) + }) + } + }) + t.Run("StoppedEnableDisable", func(t *testing.T) { // Assert that disable/enable works offline rr, err := Run(t, exec.CommandContext(ctx, Target(), "stop", "-p", profile))