1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

testing, issue #1948: Increase TestAttachDetach and TestRunDetach timeout

This commit is contained in:
Daniel Mizyrycki 2013-10-01 15:59:52 -07:00
parent b4e1b8d2e2
commit 135c1fce90

View file

@ -400,7 +400,7 @@ func TestRunDetach(t *testing.T) {
}) })
// wait for CmdRun to return // 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 <-ch
}) })
@ -458,7 +458,7 @@ func TestAttachDetach(t *testing.T) {
}) })
// wait for CmdRun to return // 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 <-ch
}) })