Code Review - 6957683 TEST_BUG: test/java/util/concurrent/ThreadPoolExecutor/ failing

Gary Adams gary.adams at
Mon Nov 21 20:26:01 UTC 2011

  Not quite as sure about the internal timeouts in this regression test.

Here's a proposed change that cranks up the timeouts. Since the test
harness defaults to 2 minutes there's no reason the service termination
should timeout more quickly. For the thread startup, I added a countdown latch
so the main thread waits til the worker threads have started.

Also, after the service termination completes increased the delay to ensure the
thread count check will be accurate.

More information about the core-libs-dev mailing list