gnodet commented on PR #24447: URL: https://github.com/apache/camel/pull/24447#issuecomment-4935648733
_Claude Code on behalf of Guillaume Nodet_ Reopening this PR — the flakiness has now been **confirmed**: 1 failure in 30 runs of the original tests (~3.3% failure rate). **Addressing the previous concerns:** 1. **UDP pacing sleeps**: For single-message tests (`messageCount=1`), the `Thread.sleep(100)` runs exactly once after the only send and before `assertIsSatisfied` — it's a timing delay, not pacing. For multi-message tests, UDP on loopback (`127.0.0.1`) uses kernel buffers that can handle burst sends without loss. 2. **Awaitility timeout**: Updated from 5s to **10s** for single-message tests (matching `MockEndpoint`'s default latch timeout) and **20s** for 100-message tests. No effective timeout reduction. 3. **Flakiness validated**: Confirmed by running original tests 30 times — 1 failure observed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
