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

Guillaume Nodet reassigned CAMEL-24027:
---------------------------------------

    Assignee: 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)

Reply via email to