# | Line 826 | Line 826 | public class JSR166TestCase extends Test | |
---|---|---|
826 | } finally { | |
827 | // last resort, for the benefit of subsequent tests | |
828 | pool.shutdownNow(); | |
829 | < | pool.awaitTermination(SMALL_DELAY_MS, MILLISECONDS); |
829 | > | pool.awaitTermination(MEDIUM_DELAY_MS, MILLISECONDS); |
830 | } | |
831 | } | |
832 | } catch (SecurityException ok) { | |
# | Line 1203 | Line 1203 | public class JSR166TestCase extends Test | |
1203 | } finally { | |
1204 | if (t.getState() != Thread.State.TERMINATED) { | |
1205 | t.interrupt(); | |
1206 | < | fail("Test timed out"); |
1206 | > | threadFail("Test timed out"); |
1207 | } | |
1208 | } | |
1209 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |