mirror of https://github.com/docker/docs.git
Merge pull request #16635 from Microsoft/10662-fixtestrununknowncommand
TestRunUnknownCommand 30s, not 30ns
This commit is contained in:
commit
d6e7350b96
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue