# | Line 200 | Line 200 | public class JSR166TestCase extends Test | |
---|---|---|
200 | System.err.println | |
201 | ("Looks like we're stuck running test: " | |
202 | + lastTestCase); | |
203 | + | System.err.println("availableProcessors=" + |
204 | + | Runtime.getRuntime().availableProcessors()); |
205 | dumpTestThreads(); | |
206 | // one stack dump is probably enough; more would be spam | |
207 | break; | |
# | Line 1203 | Line 1205 | public class JSR166TestCase extends Test | |
1205 | } finally { | |
1206 | if (t.getState() != Thread.State.TERMINATED) { | |
1207 | t.interrupt(); | |
1208 | < | fail("Test timed out"); |
1208 | > | threadFail("Test timed out"); |
1209 | } | |
1210 | } | |
1211 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |