gnodet opened a new pull request, #24631:
URL: https://github.com/apache/camel/pull/24631

   ## Summary
   
   Fix flaky `SchedulerNoPolledMessagesTest` identified by 
[Develocity](https://develocity.apache.org).
   
   The test configures a scheduler with 
`delay=100&backoffMultiplier=10&backoffIdleThreshold=2` and asserts on 
inter-message arrival times. On slow CI with GC pauses and CPU contention, the 
original tight timing windows caused false failures.
   
   Changes:
   - Widen arrival-time windows: first two messages `0-500ms` → `0-2000ms`, 
third message `500-1500ms` → `200-5000ms`
   - Use `MockEndpoint.assertIsSatisfied(context, 30, TimeUnit.SECONDS)` 
instead of the bare untimed variant
   
   ## Test plan
   
   - [x] Test passes locally with `mvn test -pl core/camel-core 
-Dtest=SchedulerNoPolledMessagesTest`
   - [ ] CI passes
   
   _Claude Code on behalf of gnodet_
   
   🤖 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]

Reply via email to