Merge pull request #15412 from vdemeester/dont-sleep-too-much

time.Sleep in integration tests — comment and waitRun/waitInspect
This commit is contained in:
Brian Goff
2015-08-21 20:43:55 -04:00
17 changed files with 42 additions and 93 deletions
+1 -3
View File
@@ -186,9 +186,7 @@ func (s *DockerSuite) TestExecTtyCloseStdin(c *check.C) {
func (s *DockerSuite) TestExecTtyWithoutStdin(c *check.C) {
out, _ := dockerCmd(c, "run", "-d", "-ti", "busybox")
id := strings.TrimSpace(out)
if err := waitRun(id); err != nil {
c.Fatal(err)
}
c.Assert(waitRun(id), check.IsNil)
errChan := make(chan error)
go func() {