[
https://issues.apache.org/jira/browse/CAMEL-23921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-23921.
---------------------------------
Resolution: Fixed
> Fix flaky tests in camel-mina-sftp
> ----------------------------------
>
> Key: CAMEL-23921
> URL: https://issues.apache.org/jira/browse/CAMEL-23921
> Project: Camel
> Issue Type: Improvement
> Components: camel-mina
> Reporter: Guillaume Nodet
> Assignee: Guillaume Nodet
> Priority: Major
> Labels: flaky-test
> Fix For: 4.22.0
>
>
> Multiple test classes in camel-mina-sftp use Thread.sleep for timing
> synchronization:
> - MinaSftpAdvancedFileOperationsIT (3x Thread.sleep(500) +
> setResultWaitTime(5000))
> - MinaSftpProtocolIT (3x Thread.sleep(1000,2000) + setResultWaitTime(15000))
> - MinaSftpConcurrencyIT (2x Thread.sleep(50,100))
> All Thread.sleep calls should be replaced with Awaitility-based assertions
> per project guidelines.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)