mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #16635 from Microsoft/10662-fixtestrununknowncommand
TestRunUnknownCommand 30s, not 30ns
This commit is contained in:
commit
d6e7350b96
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue