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

Comparing jsr166/src/test/tck/ForkJoinPool9Test.java (file contents):
Revision 1.3 by jsr166, Mon Mar 13 22:38:41 2017 UTC vs.
Revision 1.5 by jsr166, Sat Apr 1 14:24:10 2017 UTC

# Line 5 | Line 5
5   * http://creativecommons.org/publicdomain/zero/1.0/
6   */
7  
8 import static java.util.concurrent.TimeUnit.MILLISECONDS;
9
8   import java.lang.invoke.MethodHandles;
9   import java.lang.invoke.VarHandle;
10   import java.util.concurrent.CountDownLatch;
# Line 66 | Line 64 | public class ForkJoinPool9Test extends J
64          Future<?> f = ForkJoinPool.commonPool().submit(runInCommonPool);
65          // Ensure runInCommonPool is truly running in the common pool,
66          // by giving this thread no opportunity to "help" on get().
67 <        assertTrue(taskStarted.await(LONG_DELAY_MS, MILLISECONDS));
67 >        await(taskStarted);
68          assertNull(f.get());
69      }
70  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines