[
https://issues.apache.org/jira/browse/CAMEL-19531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18092316#comment-18092316
]
Otavio Rodolfo Piske commented on CAMEL-19531:
----------------------------------------------
[~tmielke] I don't think so. If it's deprecated, I think our time is better
spent on other areas of Camel. I'm going to close this one as Won't Fix. Thanks
!
> camel-leveldb: replace Thread.sleep in tests
> --------------------------------------------
>
> Key: CAMEL-19531
> URL: https://issues.apache.org/jira/browse/CAMEL-19531
> Project: Camel
> Issue Type: Task
> Components: camel-leveldb, tests
> Affects Versions: 4.0.0
> Reporter: Otavio Rodolfo Piske
> Priority: Minor
> Labels: easy, help-wanted
>
> We have many tests which use Thread.sleep for synchronization. This is bug
> prone and can introduce flakiness when running on environments with different
> capacities.
> Ideally we should replace these with:
> * [Awaitility|http://www.awaitility.org/]
> * Java's native syncronization mechanism (Latches, Phasers, Locks, etc)
> * Nothing (i.e.; in some cases the sleep can simply be removed)
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)