# | Line 1481 | Line 1481 | public class ThreadPoolExecutorTest exte | |
---|---|---|
1481 | try { | |
1482 | ArrayList<Callable<String>> l = new ArrayList<Callable<String>>(); | |
1483 | l.add(new StringTask()); | |
1484 | < | l.add(Executors.callable(new MediumInterruptedRunnable(), TEST_STRING)); |
1484 | > | l.add(Executors.callable(new MediumPossiblyInterruptedRunnable(), TEST_STRING)); |
1485 | List<Future<String>> result = e.invokeAll(l, SHORT_DELAY_MS, TimeUnit.MILLISECONDS); | |
1486 | assertEquals(2, result.size()); | |
1487 | Iterator<Future<String>> it = result.iterator(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |