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:
commit
3a8d694e01
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ func (s *DockerSuite) TestStatsAllNewContainersAdded(c *check.C) {
|
||||||
}()
|
}()
|
||||||
|
|
||||||
out, _ := dockerCmd(c, "run", "-d", "busybox", "top")
|
out, _ := dockerCmd(c, "run", "-d", "busybox", "top")
|
||||||
|
c.Assert(waitRun(strings.TrimSpace(out)), check.IsNil)
|
||||||
id <- strings.TrimSpace(out)[:12]
|
id <- strings.TrimSpace(out)[:12]
|
||||||
|
|
||||||
select {
|
select {
|
||||||
|
|
Loading…
Reference in a new issue