Merge pull request #21183 from thaJeztah/fix-flaky-TestUpdateRestartPolicy
Fix flaky TestUpdateRestartPolicy on Windows Upstream-commit: a30332e705b3c75647859383e86d65a48fa5c412 Component: engine
This commit is contained in:
@ -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")
|
||||
timeout := 60 * time.Second
|
||||
if daemonPlatform == "windows" {
|
||||
timeout = 150 * time.Second
|
||||
timeout = 180 * time.Second
|
||||
}
|
||||
|
||||
id := strings.TrimSpace(string(out))
|
||||
|
||||
Reference in New Issue
Block a user