summaryrefslogtreecommitdiff
path: root/test/e2e/libpod_suite_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/libpod_suite_test.go')
-rw-r--r--test/e2e/libpod_suite_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/e2e/libpod_suite_test.go b/test/e2e/libpod_suite_test.go
index 6ec995bfc..ccd0334ff 100644
--- a/test/e2e/libpod_suite_test.go
+++ b/test/e2e/libpod_suite_test.go
@@ -216,6 +216,9 @@ func WaitForContainer(p *PodmanTest) bool {
// Cleanup cleans up the temporary store
func (p *PodmanTest) Cleanup() {
// Remove all containers
+ stopall := p.Podman([]string{"stop", "-a", "--timeout", "0"})
+ stopall.WaitWithDefaultTimeout()
+
session := p.Podman([]string{"rm", "-fa"})
session.Wait(90)
// Nuke tempdir