ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/test/tck/LinkedBlockingDequeTest.java
(Generate patch)

Comparing jsr166/src/test/tck/LinkedBlockingDequeTest.java (file contents):
Revision 1.62 by jsr166, Tue Oct 6 00:03:55 2015 UTC vs.
Revision 1.64 by jsr166, Sat Aug 6 17:02:49 2016 UTC

# Line 765 | Line 765 | public class LinkedBlockingDequeTest ext
765              }});
766  
767          aboutToWait.await();
768 <        waitForThreadToEnterWaitState(t, LONG_DELAY_MS);
768 >        waitForThreadToEnterWaitState(t);
769          t.interrupt();
770          awaitTermination(t);
771          checkEmpty(q);
# Line 1379 | Line 1379 | public class LinkedBlockingDequeTest ext
1379                      shouldThrow();
1380                  } catch (InterruptedException success) {}
1381                  assertFalse(Thread.interrupted());
1382 +
1383 +                assertTrue(millisElapsedSince(startTime) < LONG_DELAY_MS);
1384              }});
1385  
1386          barrier.await();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines