Browse Source

TestRunUnknownCommand 30s, not 30ns

Signed-off-by: John Howard <jhoward@microsoft.com>
John Howard 9 years ago
parent
commit
74aeb0350e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      integration-cli/docker_cli_run_test.go

+ 1 - 1
integration-cli/docker_cli_run_test.go

@@ -2140,7 +2140,7 @@ func (s *DockerSuite) TestRunUnknownCommand(c *check.C) {
 	// the command which will fail.
 	// the command which will fail.
 	if daemonPlatform == "windows" {
 	if daemonPlatform == "windows" {
 		// Wait for it to exit.
 		// Wait for it to exit.
-		waitExited(cID, 30)
+		waitExited(cID, 30*time.Second)
 		c.Assert(err, check.IsNil)
 		c.Assert(err, check.IsNil)
 	} else {
 	} else {
 		c.Assert(err, check.NotNil)
 		c.Assert(err, check.NotNil)