--- jsr166/src/test/tck/SynchronousQueueTest.java 2019/08/13 23:06:39 1.65 +++ jsr166/src/test/tck/SynchronousQueueTest.java 2019/09/05 20:54:24 1.66 @@ -208,12 +208,10 @@ public class SynchronousQueueTest extend pleaseInterrupt.countDown(); try { - q.offer(new Object(), LONG_DELAY_MS, MILLISECONDS); + q.offer(new Object(), LONGER_DELAY_MS, MILLISECONDS); shouldThrow(); } catch (InterruptedException success) {} assertFalse(Thread.interrupted()); - - assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS); }}); await(pleaseInterrupt);