DomGarguilo commented on code in PR #4788:
URL: https://github.com/apache/accumulo/pull/4788#discussion_r1704324840


##########
core/src/test/java/org/apache/accumulo/core/util/TimerTest.java:
##########
@@ -89,21 +85,26 @@ public void testElapsedPrecision() throws 
InterruptedException {
     Thread.sleep(sleepMillis);
 
     long elapsedMillis = timer.elapsed(MILLISECONDS);
-    assertEquals(sleepMillis, elapsedMillis, 5, "Elapsed time in milliseconds 
is not accurate.");
+    assertTrue(elapsedMillis >= sleepMillis, "Elapsed time in milliseconds is 
not correct.");

Review Comment:
   I think with this change to the test case, we could just remove the whole 
thing since now this functionality is covered in other test cases.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to