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:
Lei Jitang
2015-09-25 05:15:16 -04:00
parent e4ec87737f
commit fac9728783
@@ -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)