gnodet opened a new pull request, #23190: URL: https://github.com/apache/camel/pull/23190
## Summary Fix 5 intermittently failing tests in `camel-core` that pass on rerun (`rerunFailingTestsCount=2`), confirming they are timing-dependent: - **FileSedaShutdownCompleteAllTasksTest** (expected 5, got 9): File consumer `delay=10` caused re-reads before `.camel/` move, creating duplicate exchanges. Increased to `delay=2000` for a single poll. - **ShutdownCompleteCurrentTaskOnlyTest** (expected <5, got 5): Same file consumer re-read issue. Increased poll delay to `delay=2000`. - **MulticastParallelStreamingTimeoutTest** (expected "CB", got "Hello"): Thread pool starvation under CI load prevented branches from completing within 5s timeout. Increased multicast timeout to 10s, direct:a delay to 20s, and mock wait to 20s. - **MulticastParallelStreamingTest** (expected "BA", got "AB"): `asyncDelayed()` uses a scheduled executor subject to thread pool pressure. Switched to `syncDelayed()` (Thread.sleep) for deterministic ordering. - **MulticastParallelTimeoutStreamCachingTest** (expected mock:exception=1, got 0): IOException propagation at ~5s exceeded default mock assertion timeout under CI load. Added explicit `setResultWaitTime(15000)` and `setAssertPeriod(2000)`. ## Test plan - [x] All 5 tests pass locally (7 test methods, 0 failures) - [ ] CI passes -- 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]
