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

Merge pull request #19180 from coolljt0725/fix_flaky_test

Fix flaky testTestStatsAllNewContainersAdded
This commit is contained in:
Vincent Demeester 2016-01-08 13:10:27 +01:00
commit 3a8d694e01

View file

@ -118,6 +118,7 @@ func (s *DockerSuite) TestStatsAllNewContainersAdded(c *check.C) {
}()
out, _ := dockerCmd(c, "run", "-d", "busybox", "top")
c.Assert(waitRun(strings.TrimSpace(out)), check.IsNil)
id <- strings.TrimSpace(out)[:12]
select {