brooklyncentral/brooklyn — pull request #150 by aledsage (2012-06-01 12:17:38+00:00)
Title: Fixes BasicTaskExecutionTest

Use CountDownLatch instead of synchronized + wait/notify.

Previous code failed non-deterministically once every few builds
for me locally. Possibly due to spurious wakeups from object.wait?

---
Note fix was extracted from pull request https://github.com/brooklyncentral/brooklyn/pull/125/files#diff-24, which won't be merged until 0.4.0-alpha.1 is released.