Details
-
Task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
4.0.0
-
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-19541 camel-quartz: replace Thread.sleep in tests
- Resolved
- relates to
-
CAMEL-19735 tests: review slow tests
- Open
- links to