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

Merge pull request #18566 from coolljt0725/fix_18544

Probably fix flaky test TestExecTTY
This commit is contained in:
Alexander Morozov 2015-12-10 12:53:47 -08:00
commit 9381c744b8

View file

@ -49,7 +49,7 @@ func (s *DockerSuite) TestExecTTY(c *check.C) {
c.Assert(err, checker.IsNil)
defer p.Close()
_, err = p.Write([]byte("cat /foo && exit\n"))
_, err = p.Write([]byte("cat /foo && sleep 2 && exit\n"))
c.Assert(err, checker.IsNil)
chErr := make(chan error)