atiaomar1978-hub opened a new pull request, #25332:
URL: https://github.com/apache/camel/pull/25332

   ## Summary
   
   Fixes [CAMEL-24035](https://issues.apache.org/jira/browse/CAMEL-24035): 
flaky `camel-core` tests due to timing issues in mock assertions.
   
   **Changes:**
   - `TwoSchedulerTest` — use `MockEndpoint.assertIsSatisfied(context, 30s)` 
(partially fixed in CAMEL-24037); standardize timeout constant
   - `DistributedTimeoutTest` — replace bare `mock.assertIsSatisfied()` with 
timed `MockEndpoint.assertIsSatisfied(context/context2, 30s)`; align Awaitility 
timeout for aggregation callback
   - `ThrottlingExceptionRoutePolicyOpenViaConfigTest` — standardize 30s 
timeouts for mock and Awaitility waits
   
   Also drops unnecessary `public` modifiers from touched test classes/methods.
   
   ## Test plan
   
   - [x] `./mvnw -pl core/camel-core -am test 
-Dtest=TwoSchedulerTest,DistributedTimeoutTest,ThrottlingExceptionRoutePolicyOpenViaConfigTest`
   
   ---
   _AI-generated PR description on behalf of atiaomar1978-hub_


-- 
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