Skip to content

test/system: increase _check_health timeout to fix CI flake - #29374

Open
Mahajan-Sachin wants to merge 1 commit into
podman-container-tools:mainfrom
Mahajan-Sachin:fix-healthcheck-timeout-29353
Open

test/system: increase _check_health timeout to fix CI flake#29374
Mahajan-Sachin wants to merge 1 commit into
podman-container-tools:mainfrom
Mahajan-Sachin:fix-healthcheck-timeout-29353

Conversation

@Mahajan-Sachin

@Mahajan-Sachin Mahajan-Sachin commented Aug 2, 2026

Copy link
Copy Markdown

Ref #29353

Summary

The _check_health test helper in test/system/220-healthcheck.bats previously used a 5-second timeout (8 seconds when running parallel). Under heavy parallel load on GitHub Actions CI runners, systemd timers for container healthchecks take longer to execute 3 retries, causing false-positive test timeouts while FailingStreak is at 2.

Changes

  • Increased base timeout in _check_health to 15s (25s when running in $CI or parallel $PARALLEL_JOBSLOT jobs).
  • Ensures podman events polling loop allows sufficient margin for systemd timer execution under CI load without flaking.

Checklist

  • Code is signed off (git commit -s)
  • Tests pass / modified test updated

Fixes podman-container-tools#29353
Under heavy CI parallelism, systemd timers can delay healthcheck execution ticks beyond 8 seconds, causing _check_health in test/system/220-healthcheck.bats to time out at FailingStreak=2.
Increase timeout in _check_health to 15s (25s under CI/parallel load).

Signed-off-by: Sachin Mahajan <sachinmahajan903@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant