--- jsr166/src/test/tck/JSR166TestCase.java 2015/10/05 21:39:39 1.166 +++ jsr166/src/test/tck/JSR166TestCase.java 2015/10/05 22:53:25 1.168 @@ -826,7 +826,7 @@ public class JSR166TestCase extends Test } finally { // last resort, for the benefit of subsequent tests pool.shutdownNow(); - pool.awaitTermination(SMALL_DELAY_MS, MILLISECONDS); + pool.awaitTermination(MEDIUM_DELAY_MS, MILLISECONDS); } } } catch (SecurityException ok) { @@ -1203,7 +1203,7 @@ public class JSR166TestCase extends Test } finally { if (t.getState() != Thread.State.TERMINATED) { t.interrupt(); - fail("Test timed out"); + threadFail("Test timed out"); } } }