[ 
https://issues.apache.org/jira/browse/CAMEL-24035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18097647#comment-18097647
 ] 

Omar Atie commented on CAMEL-24035:
-----------------------------------

I would like to work on this https://issues.apache.org/jira/browse/CAMEL-24035

> Fix flaky camel-core tests: TwoSchedulerTest, DistributedTimeoutTest, 
> ThrottlingExceptionRoutePolicyOpenViaConfigTest
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-24035
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24035
>             Project: Camel
>          Issue Type: Test
>          Components: camel-core
>            Reporter: Guillaume Nodet
>            Priority: Major
>              Labels: test-flaky
>
> Several camel-core tests are flaky in CI due to timing issues:
> - TwoSchedulerTest: uses assertMockEndpointsSatisfied() without timeout, and 
> assertSame for String comparison (should use assertEquals)
> - DistributedTimeoutTest: wraps MockEndpoint assertions with Awaitility 
> (anti-pattern per project guidelines), needs direct timed assertions
> - ThrottlingExceptionRoutePolicyOpenViaConfigTest: uses 
> assertMockEndpointsSatisfied() without timeout
> Fix by using MockEndpoint.assertIsSatisfied(context, 30, TimeUnit.SECONDS) 
> timed assertions and correcting the String comparison.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to