Ok. There is a risk that some test may inadvertently succeed when they should fail - it really depends on the specifc test, and I agree it wouldn't be the case here.

I think a better strategy is to call ``latch.await`` without a timeout, and set a timeout on the test (JUnit allows you to do this, http://junit.sourceforge.net/javadoc/org/junit/Test.html). If you agree, could you file a ticket about this, so that we update all tests at once.