[
https://issues.apache.org/jira/browse/CAMEL-24039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18095810#comment-18095810
]
Guillaume Nodet commented on CAMEL-24039:
-----------------------------------------
Fixed via https://github.com/apache/camel/pull/24639 (merged).
_Claude Code on behalf of gnodet_
> 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)