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

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

# Line 437 | Line 437 | public class ScheduledExecutorSubclassTe
437                          await(done);
438                          assertEquals(THREADS, p.getLargestPoolSize());
439                      }});
440 <            assertTrue(threadsStarted.await(LONG_DELAY_MS, MILLISECONDS));
440 >            await(threadsStarted);
441              assertEquals(THREADS, p.getLargestPoolSize());
442          }
443          assertEquals(THREADS, p.getLargestPoolSize());
# Line 702 | Line 702 | public class ScheduledExecutorSubclassTe
702          }};
703          for (int i = 0; i < count; i++)
704              p.execute(waiter);
705 <        assertTrue(threadsStarted.await(LONG_DELAY_MS, MILLISECONDS));
705 >        await(threadsStarted);
706          assertEquals(poolSize, p.getActiveCount());
707          assertEquals(0, p.getCompletedTaskCount());
708          final List<Runnable> queuedTasks;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines