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

Comparing jsr166/src/test/tck/ExecutorCompletionServiceTest.java (file contents):
Revision 1.27 by jsr166, Wed Aug 24 22:22:39 2016 UTC vs.
Revision 1.28 by jsr166, Sat Mar 25 21:41:10 2017 UTC

# Line 145 | Line 145 | public class ExecutorCompletionServiceTe
145          CompletionService cs = new ExecutorCompletionService(cachedThreadPool);
146          final CountDownLatch proceed = new CountDownLatch(1);
147          cs.submit(new Callable() { public String call() throws Exception {
148 <            proceed.await();
148 >            await(proceed);
149              return TEST_STRING;
150          }});
151          assertNull(cs.poll());

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines