ruby-concurrency/concurrent-ruby — pull request #212 by rkday (2014-12-13 17:07:36+00:00)
Title: Remove loads of sleep statements in UTs

This removes all the calls to sleep() in spec/concurrent/executor/thread_pool_executor_shared.rb, replacing them with Event wait/set or CountDownLatch calls in order to block for the minimum sensible amount of time.

Consistently brings `spec/concurrent/executor/{ruby,java}_thread_pool_executor_spec.rb` down from 11s to 5s for me (across MRI, rbx and JRuby), so I think it's worth doing.