davsclaus commented on code in PR #17731:
URL: https://github.com/apache/camel/pull/17731#discussion_r2039859345


##########
components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpReadLockNotStartedIT.java:
##########


Review Comment:
   Yes but testing with the real FTP server is better but can be hard - this 
test do indeed end up calling started = false, and trigger that part of the 
code you identified where the bug was. So both the unit test and also debugging 
this unit test ensured that this code part was called. And the repo is also 
checked to ensure the file is deleted from the repo so it can be picked up 
again later.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to