Skip to content

Commit

Permalink
Merge pull request #24461 from edsantiago/stop-trap-timeout
Browse files Browse the repository at this point in the history
CI: systests: workaround for parallel podman-stop flake
  • Loading branch information
openshift-merge-bot[bot] authored Nov 4, 2024
2 parents 0f25d9e + 2c01264 commit df41725
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/system/050-stop.bats
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

1 comment on commit df41725

@packit-as-a-service
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

podman-next COPR build failed. @containers/packit-build please check.

Please sign in to comment.