I think it will be better to mark this test case as ignore.
the reason for this is that the error case is simulated with processor to 
disconnect all sessions and exchange often does not reach to an end and session 
is closed and leaving with closed input stream as indicated in the log entry of 
the issue. Because in 
https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/component/file/GenericFileOnCompletion.java#L127

where the deletion is handle over GenericFileDeleteProcessStrategy which runs 
after exchange is completed and ftp sessions are disconnected before it really 
does moving or deleting.

Even though test almost fails on Linux VM (whereas it sometimes flakes and 
passes), it almost run with no failure on windows. Apparently it also runs on 
CI as well.

Please let me know your ideas if disabling makes sense or not.


[ Full content available at: https://github.com/apache/camel/pull/2550 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to