mirror of
https://github.com/containers/podman.git
synced 2025-06-29 15:08:09 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user