ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/ThreadPoolExecutorSubclassTest.java
(Generate patch)

Comparing jsr166/src/test/tck/ThreadPoolExecutorSubclassTest.java (file contents):
Revision 1.102 by jsr166, Sat Jan 27 19:01:26 2018 UTC vs.
Revision 1.104 by jsr166, Fri Sep 6 18:43:35 2019 UTC

# Line 769 | Line 769 | public class ThreadPoolExecutorSubclassT
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          }};
# Line 1642 | Line 1642 | public class ThreadPoolExecutorSubclassT
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();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines