twitter/commons — pull request #344 by jsirois (2014-12-31 18:03:38+00:00)
Title: Fix LowResClockTest early notify hang.

Modify LowResClockTest.Token to use a CountDownLatch to avoid the order
dependence between waitForCompletion and notifyCompletion. In the prior
arrangement the test assumed the Token would alway wait before being
notified. This ordering is guaranteed in no way and so hangs could
ensue.