diff --git a/test/integration/main.go b/test/integration/main.go index fe351e070d..35ba63dfc0 100644 --- a/test/integration/main.go +++ b/test/integration/main.go @@ -33,7 +33,9 @@ var defaultDriver = flag.String("expected-default-driver", "", "Expected default var forceProfile = flag.String("profile", "", "force tests to run against a particular profile") var cleanup = flag.Bool("cleanup", true, "cleanup failed test run") var enableGvisor = flag.Bool("gvisor", false, "run gvisor integration test (slow)") -var startOffset = flag.Duration("start-offset", 30*time.Second, "how much time to offset between cluster starts") + +// Ensure that multiple calls to startMachine do not collide with one another +var startOffset = flag.Duration("start-offset", 45*time.Second, "how much time to offset between cluster starts") var postMortemLogs = flag.Bool("postmortem-logs", true, "show logs after a failed test run") // Paths to files - normally set for CI diff --git a/test/integration/start_stop_delete_test.go b/test/integration/start_stop_delete_test.go index 5b43864614..199d06a820 100644 --- a/test/integration/start_stop_delete_test.go +++ b/test/integration/start_stop_delete_test.go @@ -107,7 +107,8 @@ func TestStartStop(t *testing.T) { t.Fatalf("%s failed: %v", rr.Args, err) } - names, err := PodWait(ctx, t, profile, "default", "integration-test=busybox", 4*time.Minute) + // 8 minutes, because 4 is not enough for images to pull in all cases. + names, err := PodWait(ctx, t, profile, "default", "integration-test=busybox", 8*time.Minute) if err != nil { t.Fatalf("wait: %v", err) }