|
@@ -82,7 +82,9 @@ func (s *DockerSuite) TestExecAfterContainerRestart(c *check.C) {
|
|
|
testRequires(c, DaemonIsLinux)
|
|
|
out, _ := dockerCmd(c, "run", "-d", "busybox", "top")
|
|
|
cleanedContainerID := strings.TrimSpace(out)
|
|
|
+ c.Assert(waitRun(cleanedContainerID), check.IsNil)
|
|
|
dockerCmd(c, "restart", cleanedContainerID)
|
|
|
+ c.Assert(waitRun(cleanedContainerID), check.IsNil)
|
|
|
|
|
|
out, _ = dockerCmd(c, "exec", cleanedContainerID, "echo", "hello")
|
|
|
outStr := strings.TrimSpace(out)
|