Aurélien Pupier created CAMEL-27464:
---------------------------------------
Summary: camel-spring-boot - Fix flaky test
FtpProducerConcurrentTest.testConcurrentProducers
Key: CAMEL-27464
URL: https://issues.apache.org/jira/browse/CAMEL-27464
Project: Camel
Issue Type: Sub-task
Components: camel-spring-boot
Reporter: Aurélien Pupier
Assignee: Aurélien Pupier
Fix For: 4.24.0
{{org.apache.camel.component.file.remote.springboot.ftp.FtpProducerConcurrentTest.testConcurrentProducers}}
is flaky in the sequential and in the parallel builds (4 out of 4 benchmark
runs, the failure occurs after ~10 seconds):
{noformat}
java.lang.AssertionError: mock://result Received message count. Expected: <10>
but was: <9>
{noformat}
One of the 10 concurrent uploads is not received. Investigate whether it is a
problem of the test (timeout, limit of concurrent connections of the embedded
FTP server) or a real concurrency problem, and fix it.
_AI-generated by IBM Bob on behalf of Aurélien Pupier._
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)