Aurélien Pupier created CAMEL-26366:
---------------------------------------
Summary: Fix flaky NatsConsumerJetStreamPushStopTest
Key: CAMEL-26366
URL: https://issues.apache.org/jira/browse/CAMEL-26366
Project: Camel
Issue Type: Test
Components: camel-nats
Affects Versions: 4.24.0
Reporter: Aurélien Pupier
[this is a new test added on the 25th October which is extremely flaky: 16
failures and 27 flaky in 3
days...|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.rootProjectNames=camel&search.timeZoneId=Europe%2FParis&tests.container=*NatsConsumerJetStreamPushStopTest]
{noformat}
org.opentest4j.AssertionFailedError: no subscription left once the consumer
stopped ==> expected: <0> but was: <1>
at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:601)
at
org.apache.camel.component.nats.NatsConsumerJetStreamPushStopTest.stopWhileSubscribingIsNotReportedAsAnError(NatsConsumerJetStreamPushStopTest.java:210)
{noformat}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)