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

Work on CAMEL-24033 started by Guillaume Nodet.
-----------------------------------------------
> Fix flaky camel-core tests (SedaBlockWhenFullTest, 
> FileConsumePollEnrichFileTest, 
> ThrottlingExceptionRoutePolicyHalfOpenHandlerSedaTest, 
> SplitterParallelAsyncProcessorIssueTest)
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-24033
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24033
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>            Reporter: Guillaume Nodet
>            Assignee: Guillaume Nodet
>            Priority: Major
>
> Several camel-core tests are flaky on CI due to untimed mock assertions or 
> incorrect Awaitility usage:
> - SedaBlockWhenFullTest: uses untimed assertMockEndpointsSatisfied()
> - FileConsumePollEnrichFileTest: wraps assertMockEndpointsSatisfied in 
> Awaitility retry loop and re-sends files on retry
> - ThrottlingExceptionRoutePolicyHalfOpenHandlerSedaTest: uses untimed 
> assertMockEndpointsSatisfied()
> - SplitterParallelAsyncProcessorIssueTest: uses untimed 
> assertMockEndpointsSatisfied()
> Fix: use MockEndpoint.assertIsSatisfied(context, 30, TimeUnit.SECONDS) and 
> restructure the file test to avoid retrying file writes.



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

Reply via email to