From 2c0126456820854d2c0f0583d214e9d216731a45 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Mon, 4 Nov 2024 10:45:14 -0700 Subject: [PATCH] CI: systests: workaround for parallel podman-stop flake Just bump up a timeout when running parallel, because of high load. Signed-off-by: Ed Santiago --- test/system/050-stop.bats | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/system/050-stop.bats b/test/system/050-stop.bats index 6407faf77c..4d71ce1221 100644 --- a/test/system/050-stop.bats +++ b/test/system/050-stop.bats @@ -152,8 +152,13 @@ load helpers is "$output" "0" "Exit code of stopped container" # The 'stop' command should return almost instantaneously + local howlong=2 + # ...unless running parallel, due to high system load. + if [[ -n "$PARALLEL_JOBSLOT" ]]; then + howlong=4 + fi delta_t=$(( $t1 - $t0 )) - assert $delta_t -le 2 "podman stop: took too long" + assert $delta_t -le $howlong "podman stop: took too long" run_podman rm $cid done