apupier opened a new pull request, #29463:
URL: https://github.com/apache/camel/pull/29463

   # Description
   
   In `SftpSimpleConsumeNoStartingDirIT`, the consumer route configured an 
arbitrary `delay=10000` (10 seconds). When standard integration tests run with 
`reuseForks=true` and concurrent test classes, any delay during connection or 
the initial poll caused `MockEndpoint.assertIsSatisfied(context)` to time out 
(default 10s timeout) before a second poll could occur.
   
   This PR:
   - Removes the arbitrary `delay=10000` parameter from the SFTP consumer URI 
in both `camel-mina-sftp` and `camel-ftp` test classes, allowing the consumer 
to use the standard polling interval.
   - Cleans up `a.txt` and `.camel/a.txt` within a `finally` block.
   
   # Target
   
   - [x] I checked that the commit is targeting the `main` branch (or an 
existing maintenance branch)
   
   # Tracking
   - [x] https://issues.apache.org/jira/browse/CAMEL-25881
   - [x] The commit message follows the 
[conventions](https://github.com/apache/camel/blob/main/CONTRIBUTING.md#commit-message-guidelines)
   
   _IBM Bob on behalf of apupier_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to