You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2026/07/06 09:12:00 UTC

[jira] [Updated] (CAMEL-23915) Fix flaky MockEndpointTimeClauseTest in camel-core

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

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

> Fix flaky MockEndpointTimeClauseTest in camel-core
> --------------------------------------------------
>
>                 Key: CAMEL-23915
>                 URL: https://issues.apache.org/jira/browse/CAMEL-23915
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Guillaume Nodet
>            Priority: Major
>              Labels: flaky-test
>             Fix For: 4.22.0
>
>
> The MockEndpointTimeClauseTest in camel-core uses Thread.sleep(50) in 10 places for timing synchronization, making it prone to flakiness on slow CI machines.
> These Thread.sleep calls should be replaced with Awaitility-based assertions per project guidelines.
> Affected file: core/camel-core/src/test/java/org/apache/camel/component/mock/MockEndpointTimeClauseTest.java



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