gnodet opened a new pull request, #24424: URL: https://github.com/apache/camel/pull/24424
## Summary _Claude Code on behalf of Guillaume Nodet_ - Fix flaky `BacklogTracerAggregateTest.testBacklogTracerAggregate` in `camel-management` (reported on JDK 25) - Replace immediate backlog tracer event count assertions with Awaitility polling - The aggregate EIP processes the completed exchange asynchronously, so tracer events may not all be recorded yet when `dumpAllTracedMessages` is called right after `assertMockEndpointsSatisfied()` ## What changed Wrapped the `dumpAllTracedMessages` + event count assertions in an `await().atMost(5, SECONDS).untilAsserted(...)` block. This gives the backlog tracer time to record all events from the asynchronous aggregate completion processing. ## Test plan - [x] Test passes locally (5 consecutive runs) - [ ] CI passes on all JDK versions 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- 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]
