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

Comparing jsr166/src/test/tck/DelayQueueTest.java (file contents):
Revision 1.13 by dl, Thu Sep 22 00:32:09 2005 UTC vs.
Revision 1.14 by dl, Sun Sep 25 13:10:59 2005 UTC

# Line 909 | Line 909 | public class DelayQueueTest extends JSR1
909       */
910      public void testTimedPollDelayed() {
911          DelayQueue q = new DelayQueue();
912 <        q.add(new NanoDelay(Long.MAX_VALUE));
912 >        q.add(new NanoDelay(LONG_DELAY_MS * 1000000L));
913          try {
914              assertNull(q.poll(SHORT_DELAY_MS, TimeUnit.MILLISECONDS));
915          } catch (Exception ex) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines