Skip to content

Commit

Permalink
[Java] Rework OffsetEpochNanoClockTest.
Browse files Browse the repository at this point in the history
  • Loading branch information
mjpt777 committed Nov 9, 2020
1 parent 6cb4675 commit fd6c697
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ private void assertSaneEpochTimestamp(final OffsetEpochNanoClock clock)
sleep();
final long endMs = System.currentTimeMillis();

assertThat(timeMs, lessThanOrEqualTo(endMs));
assertThat(timeMs, greaterThanOrEqualTo(beginMs));
assertThat(timeMs, lessThanOrEqualTo(endMs));
}

@Test
Expand Down

0 comments on commit fd6c697

Please sign in to comment.