diff options
author | baude <bbaude@redhat.com> | 2018-11-06 19:35:22 -0600 |
---|---|---|
committer | baude <bbaude@redhat.com> | 2018-11-06 19:35:22 -0600 |
commit | b89a7c7406dbd3682cd1d8e4b19911f6ef3a8959 (patch) | |
tree | 1d65ee8f6fe34fe0701de31df18a6803a85c057b | |
parent | 76360d9a6ef73f694138766b81f380e45a860556 (diff) | |
download | podman-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>
-rw-r--r-- | .papr.sh | 3 | ||||
-rw-r--r-- | test/e2e/pause_test.go | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -139,6 +139,3 @@ if [ $integrationtest -eq 1 ]; then fi make ginkgo GOPATH=/go $INTEGRATION_TEST_ENVS fi - - -exit 0 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() { |