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

   ## Summary
   
   - Replace `Thread.sleep(100)` pacing delays in 
`sendExchangesThroughDroppingThrottler` with Awaitility `pollDelay`-based waits
   - Replace `Thread.sleep(1100)` sampling period wait in `testBurstySampling` 
with Awaitility `pollDelay`-based wait
   - Replace `setResultWaitTime(100)` + `mock.assertIsSatisfied()` in message 
frequency tests with Awaitility `untilAsserted` assertions for robust polling
   
   These changes eliminate timing sensitivity that caused flaky test failures 
by using Awaitility's deterministic polling instead of fixed-duration sleeps.
   
   ## Test plan
   
   - [x] All 6 tests in `SamplingThrottlerTest` pass locally
   - [ ] CI pipeline passes
   
   _Claude Code on behalf of Guillaume Nodet_
   
   🤖 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