Make sure the container will always be unpaused on test exit
Signed-off-by: Lei Jitang <leijitang@huawei.com> Upstream-commit: 5106532601a5c8dbf734f5ebb4e9a3745d941534 Component: engine
This commit is contained in:
@@ -51,6 +51,7 @@ func (s *DockerSuite) TestInspectDefault(c *check.C) {
|
||||
}
|
||||
|
||||
func (s *DockerSuite) TestInspectStatus(c *check.C) {
|
||||
defer unpauseAllContainers()
|
||||
testRequires(c, DaemonIsLinux)
|
||||
out, _ := dockerCmd(c, "run", "-d", "busybox", "top")
|
||||
out = strings.TrimSpace(out)
|
||||
|
||||
Reference in New Issue
Block a user