# | Line 402 | Line 402 | public class DelayQueueTest extends JSR1 | |
---|---|---|
402 | try { | |
403 | q.take(); | |
404 | shouldThrow(); | |
405 | < | } catch (InterruptedException expected) {} |
405 | > | } catch (InterruptedException success) {} |
406 | assertTrue(millisElapsedSince(t0) >= SHORT_DELAY_MS); | |
407 | }}); | |
408 | threadStarted.await(); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |