[ 
https://issues.apache.org/jira/browse/CAMEL-24039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guillaume Nodet updated CAMEL-24039:
------------------------------------
    Fix Version/s: 4.22.0

> Fix flaky core tests - seda, scheduler, and redelivery tests (batch 7)
> ----------------------------------------------------------------------
>
>                 Key: CAMEL-24039
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24039
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Major
>             Fix For: 4.22.0
>
>
> Several core tests are flaky because they use the deprecated 
> assertMockEndpointsSatisfied() method which has a default 10-second timeout 
> that can be too short on loaded CI systems.
> Affected tests:
> - NotAllowRedeliveryWhileStoppingDeadLetterChannelTest
> - NotAllowRedeliveryWhileStoppingTest
> - SedaMultipleConsumersTest
> - SedaAsyncProducerTest
> - TwoSchedulerConcurrentTasksOneRouteTest
> - TwoSchedulerConcurrentTasksTest
> - SchedulerRouteTest
> - SchedulerRepeatCountTest
> The fix replaces assertMockEndpointsSatisfied() with 
> MockEndpoint.assertIsSatisfied(context, 30, TimeUnit.SECONDS) to provide 
> explicit, generous timeouts.



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

Reply via email to