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

Comparing jsr166/src/test/tck/LinkedBlockingDequeTest.java (file contents):
Revision 1.86 by jsr166, Thu Sep 5 21:11:13 2019 UTC vs.
Revision 1.87 by jsr166, Thu Sep 5 21:39:57 2019 UTC

# Line 919 | Line 919 | public class LinkedBlockingDequeTest ext
919  
920                  pleaseInterrupt.countDown();
921                  try {
922 <                    q.offerFirst(new Object(), LONG_DELAY_MS, MILLISECONDS);
922 >                    q.offerFirst(new Object(), LONGER_DELAY_MS, MILLISECONDS);
923                      shouldThrow();
924                  } catch (InterruptedException success) {}
925                  assertFalse(Thread.interrupted());
926
927                assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS);
926              }});
927  
928          await(pleaseInterrupt);
# Line 1283 | Line 1281 | public class LinkedBlockingDequeTest ext
1281  
1282                  pleaseInterrupt.countDown();
1283                  try {
1284 <                    q.offerLast(new Object(), LONG_DELAY_MS, MILLISECONDS);
1284 >                    q.offerLast(new Object(), LONGER_DELAY_MS, MILLISECONDS);
1285                      shouldThrow();
1286                  } catch (InterruptedException success) {}
1289
1290                assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS);
1287              }});
1288  
1289          await(pleaseInterrupt);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines