Explorar el Código

Merge pull request #16580 from coolljt0725/unpause_all_container_on_exit

Make sure the container will always be unpaused on test exit
Brian Goff hace 9 años
padre
commit
729c9a9782
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      integration-cli/docker_cli_inspect_test.go

+ 1 - 0
integration-cli/docker_cli_inspect_test.go

@@ -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)