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

Comparing jsr166/src/test/tck/ArrayBlockingQueueTest.java (file contents):
Revision 1.94 by jsr166, Tue Aug 13 00:54:51 2019 UTC vs.
Revision 1.95 by jsr166, Thu Sep 5 20:54:24 2019 UTC

# Line 411 | Line 411 | public class ArrayBlockingQueueTest exte
411  
412                  pleaseInterrupt.countDown();
413                  try {
414 <                    q.offer(new Object(), LONG_DELAY_MS, MILLISECONDS);
414 >                    q.offer(new Object(), LONGER_DELAY_MS, MILLISECONDS);
415                      shouldThrow();
416                  } catch (InterruptedException success) {}
417                  assertFalse(Thread.interrupted());
418
419                assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS);
418              }});
419  
420          await(pleaseInterrupt);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines