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