fix consistetly failing TestContainerRestartSuccess on windows it looks up pids and does unixy things
Signed-off-by: Jessica Frazelle <acidburn@docker.com> Upstream-commit: f91115e3a26f612001bde5f55cd59c69f7243104 Component: engine
This commit is contained in:
@ -128,7 +128,7 @@ func (s *DockerSuite) TestContainerRestartwithGoodContainer(c *check.C) {
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestContainerRestartSuccess(c *check.C) {
|
||||
testRequires(c, DaemonIsLinux)
|
||||
testRequires(c, DaemonIsLinux, SameHostDaemon)
|
||||
|
||||
out, _ := dockerCmd(c, "run", "-d", "--restart=always", "busybox", "top")
|
||||
id := strings.TrimSpace(out)
|
||||
|
||||
Reference in New Issue
Block a user