Merge pull request #14706 from duglin/FixInspectTest
Fix InspectExecID test Upstream-commit: 465192cb2885acfe71509827ff2011042e0c99b9 Component: engine
This commit is contained in:
@@ -449,7 +449,7 @@ func (s *DockerSuite) TestInspectExecID(c *check.C) {
|
||||
if out != "[]" && out != "<no value>" {
|
||||
break
|
||||
}
|
||||
if i == tries {
|
||||
if i+1 == tries {
|
||||
c.Fatalf("ExecIDs should not be empty, got: %s", out)
|
||||
}
|
||||
time.Sleep(1 * time.Second)
|
||||
|
||||
Reference in New Issue
Block a user