Merge pull request #10488 from priyawadhwa/start-stop-delete
Reduce time limit on TestStartStop to fix occasional KVM_containerd timeoutpull/10454/head
commit
eaaa51c6ba
|
@ -79,7 +79,7 @@ func TestStartStop(t *testing.T) {
|
||||||
t.Run(tc.name, func(t *testing.T) {
|
t.Run(tc.name, func(t *testing.T) {
|
||||||
MaybeParallel(t)
|
MaybeParallel(t)
|
||||||
profile := UniqueProfileName(tc.name)
|
profile := UniqueProfileName(tc.name)
|
||||||
ctx, cancel := context.WithTimeout(context.Background(), Minutes(40))
|
ctx, cancel := context.WithTimeout(context.Background(), Minutes(30))
|
||||||
defer Cleanup(t, profile, cancel)
|
defer Cleanup(t, profile, cancel)
|
||||||
type validateStartStopFunc func(context.Context, *testing.T, string, string, string, []string)
|
type validateStartStopFunc func(context.Context, *testing.T, string, string, string, []string)
|
||||||
if !strings.Contains(tc.name, "docker") && NoneDriver() {
|
if !strings.Contains(tc.name, "docker") && NoneDriver() {
|
||||||
|
|
Loading…
Reference in New Issue