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/12 16:43:00 UTC
[jira] [Work started] (CAMEL-24027) Fix flaky InOutQueueProducerAsyncLoadTest
[ https://issues.apache.org/jira/browse/CAMEL-24027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on CAMEL-24027 started by Guillaume Nodet.
-----------------------------------------------
> Fix flaky InOutQueueProducerAsyncLoadTest
> -----------------------------------------
>
> Key: CAMEL-24027
> URL: https://issues.apache.org/jira/browse/CAMEL-24027
> Project: Camel
> Issue Type: Bug
> Components: camel-sjms
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Major
>
> The InOutQueueProducerAsyncLoadTest is flaky because it sends 5000 messages via a 2-thread executor with only a 30-second timeout. On slower CI machines, processing 5000 InOut JMS requests through an embedded broker and back can exceed the timeout.
> Fix:
> - Reduce message count from 5000 to 500 (still validates load behavior)
> - Replace Awaitility polling with CountDownLatch for precise completion tracking
> - Add AtomicInteger to track and assert zero failures
> - Use executor.awaitTermination() with explicit timeout instead of polling isTerminated()
--
This message was sent by Atlassian Jira
(v8.20.10#820010)