mirror of
https://github.com/containers/podman.git
synced 2025-06-19 16:33:24 +08:00
Use WaitWithDefaultTimeout in cleanup
Ensure that we actually print the output of all commands when cleaning up the results of the E2E tests. Signed-off-by: Matthew Heon <mheon@redhat.com>
This commit is contained in:
@ -453,7 +453,7 @@ func (p *PodmanTestIntegration) PodmanPID(args []string) (*PodmanSessionIntegrat
|
||||
func (p *PodmanTestIntegration) Cleanup() {
|
||||
// Remove all containers
|
||||
stopall := p.Podman([]string{"stop", "-a", "--time", "0"})
|
||||
stopall.Wait(90)
|
||||
stopall.WaitWithDefaultTimeout()
|
||||
|
||||
podstop := p.Podman([]string{"pod", "stop", "-a", "-t", "0"})
|
||||
podstop.WaitWithDefaultTimeout()
|
||||
@ -461,7 +461,7 @@ func (p *PodmanTestIntegration) Cleanup() {
|
||||
podrm.WaitWithDefaultTimeout()
|
||||
|
||||
session := p.Podman([]string{"rm", "-fa"})
|
||||
session.Wait(90)
|
||||
session.WaitWithDefaultTimeout()
|
||||
|
||||
p.StopRemoteService()
|
||||
// Nuke tempdir
|
||||
|
Reference in New Issue
Block a user