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

   _Claude Code on behalf of Guillaume Nodet_
   
   ## Summary
   
   - Replace fixed-timeout assertions (`assertMockEndpointsSatisfied`, 
`NotifyBuilder.matchesWaitTime()`, immediate inflight check) with 
Awaitility-based polling in `testThreadsRejectedAbortNoRedelivery` and sibling 
test methods (`testThreadsRejectedAbort`, `testThreadsRejectedCallerRuns`)
   - This eliminates timing sensitivity that caused failures on JDK 25 where 
thread pool scheduling differs from earlier JDK versions
   - Added descriptive assertion messages for better failure diagnostics
   
   ## Test plan
   
   - [x] All 5 test methods in `ThreadsRejectedExecutionTest` pass
   - [x] Verified stability with 5 consecutive runs (25 total executions, 0 
failures)
   
   🤖 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