[
https://issues.apache.org/jira/browse/CAMEL-24040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18095808#comment-18095808
]
Guillaume Nodet commented on CAMEL-24040:
-----------------------------------------
Fixed via https://github.com/apache/camel/pull/24643 (merged).
_Claude Code on behalf of gnodet_
> Fix flaky tests - timing issues in seda, throttle, aggregation, file, and JMS
> tests (batch 8)
> ---------------------------------------------------------------------------------------------
>
> Key: CAMEL-24040
> URL: https://issues.apache.org/jira/browse/CAMEL-24040
> Project: Camel
> Issue Type: Bug
> Components: camel-core, camel-jms
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Major
> Fix For: 4.22.0
>
>
> Several tests are flaky due to tight timeouts that are insufficient on loaded
> CI systems.
> Affected tests:
> - SedaBlockWhenFullTest: tight setResultWaitTime and 5s assertion timeout
> - SedaInOutChainedTimeoutTest: tight 4s time assertion
> - ThrottlingExceptionRoutePolicyHalfOpenHandlerSedaTest: tight 5s Awaitility
> timeouts
> - DefaultCamelContextSuspendResumeRouteTest: uses
> assertMockEndpointsSatisfied() and tight 1s assertIsSatisfied
> - AggregateDiscardOnTimeoutTest: tight 1s mock.await timeout
> - FileConsumePollEnrichFileTest: tight 1s pollEnrich timeout
> - JmsToJmsTransactedIT: uses no-timeout
> MockEndpoint.assertIsSatisfied(context) and tight 5s consumer.receiveBody
> - JmsDeadLetterChannelInOutIT: tight 5s consumer.receiveBody timeout
> Fixes include increasing timeouts, replacing deprecated
> assertMockEndpointsSatisfied() with timed assertions, and providing generous
> timeouts for latch-based and receive operations.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)