diff --git a/test/system/040-ps.bats b/test/system/040-ps.bats index f9fc531fa2..5259299ecc 100644 --- a/test/system/040-ps.bats +++ b/test/system/040-ps.bats @@ -24,8 +24,8 @@ load helpers "${cid:0:12} \+$IMAGE \+sleep [0-9]\+ .*second.* $cname"\ "output from podman ps" - # OK. Wait for sleep to finish... - run_podman wait $cid + # OK. Stop container now. + run_podman stop -t0 $cid # ...then make sure container shows up as stopped run_podman ps -a