diff --git a/commands_test.go b/commands_test.go index be5e80787c..2da1f8e0ca 100644 --- a/commands_test.go +++ b/commands_test.go @@ -400,7 +400,7 @@ func TestRunDetach(t *testing.T) { }) // wait for CmdRun to return - setTimeout(t, "Waiting for CmdRun timed out", 5*time.Second, func() { + setTimeout(t, "Waiting for CmdRun timed out", 15*time.Second, func() { <-ch }) @@ -458,7 +458,7 @@ func TestAttachDetach(t *testing.T) { }) // wait for CmdRun to return - setTimeout(t, "Waiting for CmdAttach timed out", 5*time.Second, func() { + setTimeout(t, "Waiting for CmdAttach timed out", 15*time.Second, func() { <-ch })