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

   ## Summary
   
   - Increase `MockEndpoint.assertIsSatisfied` timeout from default 10s to 30s 
using the timed overload `MockEndpoint.assertIsSatisfied(context, 30, 
TimeUnit.SECONDS)`
   - Add `@Timeout(60)` to prevent the test from hanging indefinitely
   
   The test exercises a failover load balancer over JMS queues, which involves 
multiple JMS round-trips (send to foo queue, exception reply, retry to bar 
queue, success reply). Under CI load, the default 10-second `MockEndpoint` 
timeout is insufficient for this multi-hop JMS flow, causing a 3.8% flake rate 
(10 failed, 8 flaky out of 479 CI runs).
   
   ## Test plan
   
   - [x] Run `mvn test -pl components/camel-jms 
-Dtest=JmsSpringLoadBalanceFailOverJMSIT -am`
   - [x] Verify code formatting with `mvn formatter:format impsort:sort`
   
   _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