Description
When running unit tests I encountered the following failure:
java.lang.AssertionError: leaderElectionLatency = 0 at org.junit.Assert.fail(Assert.java:89) at org.junit.Assert.assertTrue(Assert.java:42) at org.apache.ratis.server.metrics.TestLeaderElectionMetrics.testOnLeaderElectionCompletion(TestLeaderElectionMetrics.java:61)
It seems like the assertion assertTrue("leaderElectionLatency = " + leaderElectionLatency, leaderElectionLatency > 0L) may be too strict.
Attachments
Issue Links
- is duplicated by
-
RATIS-1645 mvn test fails
- Resolved
- links to