From ac75155196d0027b626bf3480aee56ad8cb303b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Rod=C3=A1k?= Date: Mon, 8 Jun 2026 13:22:08 +0200 Subject: [PATCH] Fix stop timing flake by widening upper bound MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The `podman stop - basic test` flakes in CI because $SECONDS is integer-precision: a ~14.6s stop rounds to delta_t=15 and fails the -le 14 check. Widen the upper bound to 18s, which still catches real regressions while tolerating slow CI nodes and remote-mode socket overhead. Signed-off-by: Jan Rodák --- test/system/050-stop.bats | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/system/050-stop.bats b/test/system/050-stop.bats index 3ce524fd43..ea619a3687 100644 --- a/test/system/050-stop.bats +++ b/test/system/050-stop.bats @@ -31,7 +31,7 @@ load helpers # exactly 10 seconds. Give it some leeway. delta_t=$(( $t1 - $t0 )) assert $delta_t -gt 8 "podman stop: ran too quickly!" - assert $delta_t -le 14 "podman stop: took too long" + assert $delta_t -le 18 "podman stop: took too long" run_podman rm $cid }