Aurélien Pupier created CAMEL-25496:
---------------------------------------
Summary: Fix flaky NatsProducerReplyToTimeoutIT.testReplyToTimeout
Key: CAMEL-25496
URL: https://issues.apache.org/jira/browse/CAMEL-25496
Project: Camel
Issue Type: Test
Components: camel-nats
Affects Versions: 4.23.0
Reporter: Aurélien Pupier
[2 failurs and 14 flakyness in last 90 days, failures and flakiness frequency
increased since
October|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.component.nats.integration.NatsProducerReplyToTimeoutIT&tests.test=testReplyToTimeout]
{noformat}
org.opentest4j.AssertionFailedError: Object should be of type
org.apache.camel.ExchangeTimedOutException but was:
java.util.concurrent.CancellationException with the type:
java.util.concurrent.CancellationException ==> expected: <true> but was: <false>
at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:232)
at
org.apache.camel.test.junit6.TestSupport.assertIsInstanceOf(TestSupport.java:127)
at
org.apache.camel.component.nats.integration.NatsProducerReplyToTimeoutIT.testReplyToTimeout(NatsProducerReplyToTimeoutIT.java:42){noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)