Github user bothejjms commented on the issue: https://github.com/apache/zookeeper/pull/563 I have tweaked the test to use significantly less threads and be faster. Unfortunately it still fails on jenkins. :( I am not sure how ThreadPoolExecutor would help with this. It will spin up the same amount of threads in background, isn't it?
---