Skip to content

Commit

Permalink
Reduce excessive logging in test
Browse files Browse the repository at this point in the history
  • Loading branch information
lhotari committed Feb 7, 2025
1 parent d5ea482 commit b19e0de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ void testClockHandlesTimeLeapsBackwards(boolean requestSnapshot) throws Interrup
for (int i = 0; i < 10000; i++) {
clockValue.addAndGet(TimeUnit.MILLISECONDS.toNanos(1));
long tick = clock.getTickNanos(requestSnapshot);
log.info("i = {}, tick = {}", i, tick);
//log.info("i = {}, tick = {}", i, tick);
if ((i + 1) % 5 == 0) {
leapDirection = !leapDirection;
log.info("Time leap 5 minutes backwards");
//log.info("Time leap 5 minutes backwards");
clockValue.addAndGet(-Duration.ofMinutes(5).toNanos());
}
if (previousTick != -1) {
Expand Down

0 comments on commit b19e0de

Please sign in to comment.