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

Comparing jsr166/src/test/tck/LinkedBlockingQueueTest.java (file contents):
Revision 1.79 by jsr166, Sun Aug 11 22:29:27 2019 UTC vs.
Revision 1.80 by jsr166, Thu Sep 5 20:54:24 2019 UTC

# Line 363 | Line 363 | public class LinkedBlockingQueueTest ext
363  
364                  pleaseInterrupt.countDown();
365                  try {
366 <                    q.offer(new Object(), LONG_DELAY_MS, MILLISECONDS);
366 >                    q.offer(new Object(), LONGER_DELAY_MS, MILLISECONDS);
367                      shouldThrow();
368                  } catch (InterruptedException success) {}
369                  assertFalse(Thread.interrupted());
370
371                assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS);
370              }});
371  
372          await(pleaseInterrupt);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines