# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |