Merge pull request #14706 from duglin/FixInspectTest

Fix InspectExecID test
This commit is contained in:
Jessie Frazelle 2015-07-17 14:37:23 -07:00
commit 465192cb28
1 changed files with 1 additions and 1 deletions

View File

@ -449,7 +449,7 @@ func (s *DockerSuite) TestInspectExecID(c *check.C) {
if out != "[]" && out != "<no value>" { if out != "[]" && out != "<no value>" {
break break
} }
if i == tries { if i+1 == tries {
c.Fatalf("ExecIDs should not be empty, got: %s", out) c.Fatalf("ExecIDs should not be empty, got: %s", out)
} }
time.Sleep(1 * time.Second) time.Sleep(1 * time.Second)