зеркало из https://github.com/microsoft/docker.git
Merge pull request #17348 from askb/17243_flaykytest_TestExecAfterContainerRestart
Fix for #17243 DockerSuite.TestExecAfterContainerRestart.
This commit is contained in:
Коммит
029e7ae4e0
|
@ -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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче