mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 00:15:44 +00:00
test/system: do not run "podman pause/unpause" in parallel
podman ps -a causes unexpected timing delays as it tries to take locks for all containers and parallel tests may cause it to block for a while. In CI logs I see ps -a take over 3 seconds which is enough to mess with the expect time and make the test fail. Since testing the ps -a output as part of the test just switch the test to not run in parallel. This failed with "delta t between paused and restarted" where it took 10 seconds instead of the max expected 6 seconds. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
90ba6562d5
commit
b498cefd5c
1 changed files with 3 additions and 1 deletions
|
|
@ -6,7 +6,9 @@
|
|||
load helpers
|
||||
load helpers.systemd
|
||||
|
||||
# bats test_tags=ci:parallel
|
||||
# SHOULD NOT BE PARALLELIZED! The use of podman ps -a makes it timing sensitive
|
||||
# as this command takes locks of all containers and parallel containers may
|
||||
# block for a while.
|
||||
@test "podman pause/unpause" {
|
||||
if is_rootless && ! is_cgroupsv2; then
|
||||
skip "'podman pause' (rootless) only works with cgroups v2"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue