mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix flaky TestUpdateRestartPolicy on Windows
Add another 30 seconds, because it still fails sometimes :'( Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
901c67a8ee
commit
f43683d60d
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ func (s *DockerSuite) TestUpdateRestartPolicy(c *check.C) {
|
||||||
out, _ := dockerCmd(c, "run", "-d", "--restart=on-failure:3", "busybox", "sh", "-c", "sleep 1 && false")
|
out, _ := dockerCmd(c, "run", "-d", "--restart=on-failure:3", "busybox", "sh", "-c", "sleep 1 && false")
|
||||||
timeout := 60 * time.Second
|
timeout := 60 * time.Second
|
||||||
if daemonPlatform == "windows" {
|
if daemonPlatform == "windows" {
|
||||||
timeout = 150 * time.Second
|
timeout = 180 * time.Second
|
||||||
}
|
}
|
||||||
|
|
||||||
id := strings.TrimSpace(string(out))
|
id := strings.TrimSpace(string(out))
|
||||||
|
|
Loading…
Reference in a new issue