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

Comparing jsr166/src/test/tck/ThreadPoolExecutorTest.java (file contents):
Revision 1.106 by jsr166, Tue Oct 6 05:12:16 2015 UTC vs.
Revision 1.107 by jsr166, Tue Oct 6 05:22:25 2015 UTC

# Line 344 | Line 344 | public class ThreadPoolExecutorTest exte
344                          await(done);
345                          assertEquals(THREADS, p.getLargestPoolSize());
346                      }});
347 <            assertTrue(threadsStarted.await(LONG_DELAY_MS, MILLISECONDS));
347 >            await(threadsStarted);
348              assertEquals(THREADS, p.getLargestPoolSize());
349          }
350          assertEquals(THREADS, p.getLargestPoolSize());
# Line 662 | Line 662 | public class ThreadPoolExecutorTest exte
662          }};
663          for (int i = 0; i < count; i++)
664              p.execute(waiter);
665 <        assertTrue(threadsStarted.await(LONG_DELAY_MS, MILLISECONDS));
665 >        await(threadsStarted);
666          assertEquals(poolSize, p.getActiveCount());
667          assertEquals(0, p.getCompletedTaskCount());
668          final List<Runnable> queuedTasks;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines