[cvs] / jsr166 / src / test / tck / AbstractQueuedLongSynchronizerTest.java Repository:
ViewVC logotype

Diff of /jsr166/src/test/tck/AbstractQueuedLongSynchronizerTest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.34, Sat Apr 25 04:55:30 2015 UTC revision 1.35, Fri Jul 3 01:56:38 2015 UTC
# Line 246  Line 246 
246                  long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis);                  long nanosTimeout = MILLISECONDS.toNanos(timeoutMillis);
247                  long nanosRemaining = c.awaitNanos(nanosTimeout);                  long nanosRemaining = c.awaitNanos(nanosTimeout);
248                  assertTrue(nanosRemaining <= 0);                  assertTrue(nanosRemaining <= 0);
249                    assertTrue(nanosRemaining > -MILLISECONDS.toNanos(LONG_DELAY_MS));
250                  break;                  break;
251              case awaitUntil:              case awaitUntil:
252                  assertFalse(c.awaitUntil(delayedDate(timeoutMillis)));                  assertFalse(c.awaitUntil(delayedDate(timeoutMillis)));

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35

Doug Lea
ViewVC Help
Powered by ViewVC 1.0.8