[
https://issues.apache.org/jira/browse/CAMEL-19536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17766346#comment-17766346
]
Otavio Rodolfo Piske commented on CAMEL-19536:
----------------------------------------------
I reached out to [~nstefeko] about this. She is busy with other business
matters, so she won't be able to work on this ticket. I am unassigning and
leaving it available for anyone willing to work on it.
> camel-micrometer: replace Thread.sleep in tests
> -----------------------------------------------
>
> Key: CAMEL-19536
> URL: https://issues.apache.org/jira/browse/CAMEL-19536
> Project: Camel
> Issue Type: Task
> Components: camel-micrometer, tests
> Affects Versions: 4.0.0
> Reporter: Otavio Rodolfo Piske
> Assignee: 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)