зеркало из https://github.com/microsoft/docker.git
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:
Родитель
901c67a8ee
Коммит
f43683d60d
|
@ -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))
|
||||
|
|
Загрузка…
Ссылка в новой задаче