# | Line 392 | Line 392 | public class JSR166TestCase extends Test | |
---|---|---|
392 | public void joinPool(ExecutorService exec) { | |
393 | try { | |
394 | exec.shutdown(); | |
395 | < | assertTrue(exec.awaitTermination(LONG_DELAY_MS, MILLISECONDS)); |
395 | > | assertTrue("ExecutorService did not terminate in a timely manner", |
396 | > | exec.awaitTermination(LONG_DELAY_MS, MILLISECONDS)); |
397 | } catch (SecurityException ok) { | |
398 | // Allowed in case test doesn't have privs | |
399 | } catch (InterruptedException ie) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |