Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.9.0
-
None
-
Reviewed
Description
Because of poor checking of boundary conditions, the test fails 1% of the time:
The initial flush time was calculated incorrectly: 0 Stacktrace java.lang.AssertionError: The initial flush time was calculated incorrectly: 0 at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.hadoop.metrics2.sink.TestRollingFileSystemSink.testSetInitialFlushTime(TestRollingFileSystemSink.java:120)