# | Line 1059 | Line 1059 | public class ScheduledExecutorTest exten | |
---|---|---|
1059 | try { | |
1060 | ArrayList<Callable<String>> l = new ArrayList<Callable<String>>(); | |
1061 | l.add(new StringTask()); | |
1062 | < | l.add(Executors.callable(new MediumInterruptedRunnable(), TEST_STRING)); |
1062 | > | l.add(Executors.callable(new MediumPossiblyInterruptedRunnable(), TEST_STRING)); |
1063 | List<Future<String>> result = e.invokeAll(l, SHORT_DELAY_MS, TimeUnit.MILLISECONDS); | |
1064 | assertEquals(2, result.size()); | |
1065 | Iterator<Future<String>> it = result.iterator(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |