mirror of https://github.com/docker/docs.git
Merge pull request #2061 from dotcloud/1948-test-detach
testing, issue #1948: Increase TestRunDetach timeout
This commit is contained in:
commit
c18e849451
|
@ -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
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue