Awaitility
Wait for an asynchronous condition in a Java fixture using a clear deadline.
awaitility · Code and testing
GitHub projectOpen source Open on GitHubHow to try it
Add org.awaitility:awaitility:4.3.0 to a small Java project. Wait for a background sample task to publish its fictional count.
What we tested
4.3.0. Wait for a background sample task to publish its fictional count. Observed the expected fixture result within the bounded wait.