summaryrefslogtreecommitdiff
path: root/test/e2e/common_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/common_test.go')
-rw-r--r--test/e2e/common_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/e2e/common_test.go b/test/e2e/common_test.go
index a30a9b20b..a6fc211f6 100644
--- a/test/e2e/common_test.go
+++ b/test/e2e/common_test.go
@@ -407,9 +407,13 @@ func (p *PodmanTestIntegration) PodmanPID(args []string) (*PodmanSessionIntegrat
func (p *PodmanTestIntegration) Cleanup() {
// Remove all containers
stopall := p.Podman([]string{"stop", "-a", "--timeout", "0"})
- // stopall.WaitWithDefaultTimeout()
stopall.Wait(90)
+ podstop := p.Podman([]string{"pod", "stop", "-a", "-t", "0"})
+ podstop.WaitWithDefaultTimeout()
+ podrm := p.Podman([]string{"pod", "rm", "-fa"})
+ podrm.WaitWithDefaultTimeout()
+
session := p.Podman([]string{"rm", "-fa"})
session.Wait(90)