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.89 by jsr166, Tue Oct 6 05:12:16 2015 UTC vs.
Revision 1.90 by jsr166, Tue Oct 6 05:22:25 2015 UTC

# Line 491 | Line 491 | public class ThreadPoolExecutorSubclassT
491                          await(done);
492                          assertEquals(THREADS, p.getLargestPoolSize());
493                      }});
494 <            assertTrue(threadsStarted.await(LONG_DELAY_MS, MILLISECONDS));
494 >            await(threadsStarted);
495              assertEquals(THREADS, p.getLargestPoolSize());
496          }
497          assertEquals(THREADS, p.getLargestPoolSize());
# Line 777 | Line 777 | public class ThreadPoolExecutorSubclassT
777          }};
778          for (int i = 0; i < count; i++)
779              p.execute(waiter);
780 <        assertTrue(threadsStarted.await(LONG_DELAY_MS, MILLISECONDS));
780 >        await(threadsStarted);
781          assertEquals(poolSize, p.getActiveCount());
782          assertEquals(0, p.getCompletedTaskCount());
783          final List<Runnable> queuedTasks;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines