test/system: speed up podman ps - basic tests

Do not wait 5 seconds, just stop the container directly.
This speeds up the test by more than 4 seconds.

One could make the case here that we want to check podman wait but
there are so many other podman wait tests that it should not matter.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger
2024-05-28 11:44:38 +02:00
parent 4f3c691087
commit 37120bbe80

View File

@ -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