Skip to content

Commit

Permalink
Issue #5684 - scan interval is variable on windows
Browse files Browse the repository at this point in the history
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
  • Loading branch information
joakime committed Aug 2, 2021
1 parent fb1c854 commit 500e6f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ public void testSequence() throws Exception
capture.finishedLatch.await(LONG_TIME, TimeUnit.MILLISECONDS);
end = System.nanoTime();
capture.assertEvents(expected);
assertThat(end - start, greaterThan(TimeUnit.MILLISECONDS.toNanos(2 * QUIET_TIME)));
assertThat(end - start, greaterThan(TimeUnit.MILLISECONDS.toNanos(QUIET_TIME)));
Thread.sleep(WAIT_TIME);
capture.assertEvents(expected);

Expand Down

0 comments on commit 500e6f2

Please sign in to comment.