Cleanup `Thread.sleep` in unit tests
Open
area/tests
help wanted
triage/week-33
- Dominant language
- Java
- Stars
- 2k
- Forks
- 976
- Avg merge
- 6d 15h
- Merged PRs (30d)
- 7
Description
*Problem*
Currently we are using a lot of `Thread.sleep` in the unit tests, waiting for some tasks to complete execution. This pattern is very problematic, which it makes the tests unstable and non-deterministic.
*Solution*
We should try to clean up the usages of `Thread.sleep` in the unit tests. This is a master ticket for tracking this effort.
Contributor guide
Assessment
This issue has not been assessed yet.