Increase context timeouts for poorly behaved hosts

pull/5315/head
Thomas Stromberg 2019-09-12 17:06:59 -07:00
parent 46387d35ec
commit 340fe232df
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ func TestAddons(t *testing.T) {
MaybeParallel(t)
profile := UniqueProfileName("addons")
ctx, cancel := context.WithTimeout(context.Background(), 25*time.Minute)
ctx, cancel := context.WithTimeout(context.Background(), 40*time.Minute)
defer CleanupWithLogs(t, profile, cancel)
args := append([]string{"start", "-p", profile, "--wait=false", "--memory=2600"}, StartArgs()...)

View File

@ -33,7 +33,7 @@ func TestDockerFlags(t *testing.T) {
MaybeParallel(t)
profile := UniqueProfileName("docker-flags")
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Minute)
defer Cleanup(t, profile, cancel)
args := append([]string{"start", "-p", profile, "--wait=false", "--docker-env=FOO=BAR", "--docker-env=BAZ=BAT", "--docker-opt=debug", "--docker-opt=icc=true", "--alsologtostderr", "-v=8"}, StartArgs()...)

View File

@ -81,7 +81,7 @@ func TestStartStop(t *testing.T) {
}
profile := UniqueProfileName(tc.name)
ctx, cancel := context.WithTimeout(context.Background(), 20*time.Minute)
ctx, cancel := context.WithTimeout(context.Background(), 40*time.Minute)
defer CleanupWithLogs(t, profile, cancel)
// Use copious amounts of debugging for this stress test: we will need it.