mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #18243 from jfrazelle/fix-test
fix consistetly failing TestContainerRestartSuccess
This commit is contained in:
commit
49088b0b89
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ func (s *DockerSuite) TestContainerRestartwithGoodContainer(c *check.C) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *DockerSuite) TestContainerRestartSuccess(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")
|
out, _ := dockerCmd(c, "run", "-d", "--restart=always", "busybox", "top")
|
||||||
id := strings.TrimSpace(out)
|
id := strings.TrimSpace(out)
|
||||||
|
|
Loading…
Reference in a new issue