Fix flaky unit test on merge-triggered CI runs #7

Merged
Djeex merged 1 commits from fix-flaky-test-timing into main 2026-08-26 15:58:37 +02:00
Owner
  • entrypoint.sh: bound the target connectivity check with -w 2 (the only unbounded step in the startup path)
  • tests/entrypoint.bats: widen wait_for_log's budget from 5s to 10s

Merge-triggered runs land on a colder runner (Docker cache evicted by other repos' scheduled jobs since the PR was last tested) than PR-check runs, and the first backgrounded entrypoint.sh in the suite was occasionally landing just past the old 5s window — always passed on rerun once warm.

- entrypoint.sh: bound the target connectivity check with `-w 2` (the only unbounded step in the startup path) - tests/entrypoint.bats: widen wait_for_log's budget from 5s to 10s Merge-triggered runs land on a colder runner (Docker cache evicted by other repos' scheduled jobs since the PR was last tested) than PR-check runs, and the first backgrounded entrypoint.sh in the suite was occasionally landing just past the old 5s window — always passed on rerun once warm.
Djeex added 1 commit 2026-08-26 15:56:03 +02:00
Fix flaky unit test on merge-triggered CI runs
CI / build-and-scan (pull_request) Successful in 1m41s
03ee3ee5d5
- entrypoint.sh: bound the target connectivity check with -w 2 (nc -z had
  no timeout at all, the only unbounded step in the startup path)
- tests/entrypoint.bats: widen wait_for_log's budget from 5s to 10s

Merge-triggered runs land on a colder runner (Docker cache evicted by other
repos' scheduled jobs since the PR was last tested) than PR-check runs, and
the first backgrounded entrypoint.sh in the suite was occasionally landing
just past the old 5s window — always passed on rerun once warm.
Djeex merged commit 1f0af15932 into main 2026-08-26 15:58:37 +02:00
Sign in to join this conversation.