Details
-
Task
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
4.0.0
-
None
-
Novice
Description
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
- Java's native syncronization mechanism (Latches, Phasers, Locks, etc)
- Nothing (i.e.; in some cases the sleep can simply be removed)
Attachments
Issue Links
- is a clone of
-
CAMEL-19514 camel-aws: replace Thread.sleep in tests
- Open