The addc-test project contains a helper class for waiting for conditions in JUnit tests that have concurrent threads.