summaryrefslogtreecommitdiff
path: root/test/e2e/pause_test.go
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-11-06 19:35:22 -0600
committerbaude <bbaude@redhat.com>2018-11-06 19:35:22 -0600
commitb89a7c7406dbd3682cd1d8e4b19911f6ef3a8959 (patch)
tree1d65ee8f6fe34fe0701de31df18a6803a85c057b /test/e2e/pause_test.go
parent76360d9a6ef73f694138766b81f380e45a860556 (diff)
downloadpodman-b89a7c7406dbd3682cd1d8e4b19911f6ef3a8959.tar.gz
podman-b89a7c7406dbd3682cd1d8e4b19911f6ef3a8959.tar.bz2
podman-b89a7c7406dbd3682cd1d8e4b19911f6ef3a8959.zip
Fix cleanup for "Pause a bunch of running containers"
When running integration tests in our CI, we observe a problem where paused containers are not able to be stopped; and therefore cannot be cleaned up. This leaves dangling mounts and sometimes zombied conmon processes. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'test/e2e/pause_test.go')
-rw-r--r--test/e2e/pause_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/pause_test.go b/test/e2e/pause_test.go
index 24876b6d6..1a2eb1a09 100644
--- a/test/e2e/pause_test.go
+++ b/test/e2e/pause_test.go
@@ -250,6 +250,10 @@ var _ = Describe("Podman pause", func() {
running.WaitWithDefaultTimeout()
Expect(running.ExitCode()).To(Equal(0))
Expect(len(running.OutputToStringArray())).To(Equal(0))
+
+ unpause := podmanTest.Podman([]string{"unpause", "--all"})
+ unpause.WaitWithDefaultTimeout()
+ Expect(unpause.ExitCode()).To(Equal(0))
})
It("Unpause a bunch of running containers", func() {