Aurélien Pupier created CAMEL-27463:
---------------------------------------
Summary: camel-spring-boot - Fix flaky test
FromFtpFilterTest.testFilterFilesWithARegularFile
Key: CAMEL-27463
URL: https://issues.apache.org/jira/browse/CAMEL-27463
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.FromFtpFilterTest.testFilterFilesWithARegularFile}}
fails on the first run and passes on the surefire rerun. It is flaky in the
sequential and in the parallel builds (4 out of 4 benchmark runs).
{noformat}
FromFtpFilterTest.testFilterFilesWithARegularFile:61->AbstractBaseFtp.sendFile:52
» CamelExecution Exception occurred during execution on the exchange
Caused by: org.apache.camel.component.file.GenericFileOperationFailedException:
File operation failed: Connection closed without indication.. Code: 226
Caused by: org.apache.commons.net.ftp.FTPConnectionClosedException: Connection
closed without indication.
{noformat}
The file cannot be sent to the embedded FTP server (connection closed without
indication). Investigate and fix the root cause instead of relying on the rerun.
_AI-generated by IBM Bob on behalf of Aurélien Pupier._
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)