769 |
|
Runnable waiter = new CheckedRunnable() { public void realRun() { |
770 |
|
threadsStarted.countDown(); |
771 |
|
try { |
772 |
< |
MILLISECONDS.sleep(2 * LONG_DELAY_MS); |
772 |
> |
MILLISECONDS.sleep(LONGER_DELAY_MS); |
773 |
|
} catch (InterruptedException success) {} |
774 |
|
ran.getAndIncrement(); |
775 |
|
}}; |
1642 |
|
l.add(latchAwaitingStringTask(latch)); |
1643 |
|
l.add(null); |
1644 |
|
try { |
1645 |
< |
e.invokeAny(l, randomTimeout(), MILLISECONDS); |
1645 |
> |
e.invokeAny(l, randomTimeout(), randomTimeUnit()); |
1646 |
|
shouldThrow(); |
1647 |
|
} catch (NullPointerException success) {} |
1648 |
|
latch.countDown(); |