Aurélien Pupier created CAMEL-27558:
---------------------------------------
Summary: Fix flaky test MinaSftpConsumerMaxMessagesPerPollListingIT
Key: CAMEL-27558
URL: https://issues.apache.org/jira/browse/CAMEL-27558
Project: Camel
Issue Type: Test
Components: camel-mina-sftp
Affects Versions: 4.24.0
Reporter: Aurélien Pupier
[flaky 23% of the
time|https://develocity.apache.org/scans/tests?search.relativeStartTime=P90D&search.timeZoneId=Europe%2FParis&tests.container=org.apache.camel.component.file.remote.mina.integration.MinaSftpConsumerMaxMessagesPerPollListingIT]
{noformat}
java.lang.AssertionError: mock://result Received message count. Expected: <300>
but was: <160>
at
org.apache.camel.component.mock.MockEndpoint.fail(MockEndpoint.java:2079)
at
org.apache.camel.component.mock.MockEndpoint.assertEquals(MockEndpoint.java:2014)
at
org.apache.camel.component.mock.MockEndpoint.doAssertIsSatisfied(MockEndpoint.java:502)
at
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:480)
at
org.apache.camel.component.mock.MockEndpoint.assertIsSatisfied(MockEndpoint.java:470)
at
org.apache.camel.component.file.remote.mina.integration.MinaSftpConsumerMaxMessagesPerPollListingIT.consumesEveryFileOverThePolls(MinaSftpConsumerMaxMessagesPerPollListingIT.java:136)
{noformat}
the real value is between 160 and 215, most of the time 200
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)