[
https://issues.apache.org/jira/browse/CAMEL-24284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aurélien Pupier updated CAMEL-24284:
------------------------------------
Summary: SjmsConnectionRecoveryTest is very flaky (was:
SjmsConnectionRecoveryTest is flaky)
> SjmsConnectionRecoveryTest is very flaky
> ----------------------------------------
>
> Key: CAMEL-24284
> URL: https://issues.apache.org/jira/browse/CAMEL-24284
> Project: Camel
> Issue Type: Test
> Components: camel-sjms
> Affects Versions: 4.21.0
> Reporter: Aurélien Pupier
> Priority: Major
> Attachments: image-2026-07-28-14-29-46-428.png
>
>
> Despite already several attempts to reduce flakiness, this test is still
> failing very regularly
> [https://develocity.apache.org/scans/tests?search.query=project:camel%20tag:main&search.relativeStartTime=P28D&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.component.sjms.SjmsConnectionRecoveryTest&tests.test=testRecoveryStopsAfterSuccessfulReconnection]
> !image-2026-07-28-14-29-46-428.png|width=967,height=50!
>
> when it is failing, it is failing most of the times 3 times in a row with
> this stack:
> {noformat}
> org.awaitility.core.ConditionTimeoutException: Assertion condition defined as
> a Lambda expression in
> org.apache.camel.component.sjms.SjmsConnectionRecoveryTest null within 30
> seconds.
> at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
>
> at
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
> at
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
> at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1160)
>
> at
> org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
>
> at
> org.apache.camel.component.sjms.SjmsConnectionRecoveryTest.testRecoveryStopsAfterSuccessfulReconnection(SjmsConnectionRecoveryTest.java:183)
>
> Caused by: java.util.concurrent.TimeoutException: (No message provided)
> at java.util.concurrent.FutureTask.get(FutureTask.java:204)
> at
> org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:101)
>
> at
> org.awaitility.core.Uninterruptibles.getUninterruptibly(Uninterruptibles.java:81)
>
> at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:103)
>
> at
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
> at
> org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
> at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:1160)
>
> at
> org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:790)
>
> at
> org.apache.camel.component.sjms.SjmsConnectionRecoveryTest.testRecoveryStopsAfterSuccessfulReconnection(SjmsConnectionRecoveryTest.java:183)
> {noformat}
> it is happening on all configurations (except s390x because it is already
> skipped, see [CAMEL-23677])
--
This message was sent by Atlassian Jira
(v8.20.10#820010)