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

   ## Summary
   
   Fixes a flaky timeout in 
`MinaSftpConsumerMaxMessagesPerPollListingIT#consumesEveryFileOverThePolls`.
   
   ## Root cause
   
   The test creates 300 files and polls them in batches of 100 with 
`maxMessagesPerPoll=100` and `noop=true`. With the CAMEL-26635 early-stop 
listing optimization, each successive poll must re-list the directory and skip 
already-consumed idempotent entries before finding new files. This makes later 
polls progressively slower. Combined with SFTP overhead, the 3rd poll often 
exceeds the default 10-second `MockEndpoint` timeout on slow or busy CI 
machines.
   
   ## Fix
   
   Replace `mock.assertIsSatisfied()` (10-second default) with the timed 
overload `MockEndpoint.assertIsSatisfied(context, 30, TimeUnit.SECONDS)` in the 
affected test method.
   
   ## Testing
   
   Built locally with `-Dquickly` to verify compilation.
   
   _Claude Sonnet 4.6 on behalf of gnodet_


-- 
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