Browse Source

Merge pull request #14706 from duglin/FixInspectTest

Fix InspectExecID test
Jessie Frazelle 10 years ago
parent
commit
465192cb28
1 changed files with 1 additions and 1 deletions
  1. 1 1
      integration-cli/docker_cli_exec_test.go

+ 1 - 1
integration-cli/docker_cli_exec_test.go

@@ -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)