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); |
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); |