Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
The testDeletedContainerCount() method of TestContainerStateCounts is considered flaky due to the processing order of the container report. If the pipeline does not exist, then the container is not added until the next container report is processed.
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 11.171 s <<< FAILURE! - in org.apache.hadoop.ozone.recon.api.TestContainerStateCounts org.apache.hadoop.ozone.recon.api.TestContainerStateCounts.testDeletedContainerCount Time elapsed: 11.103 s <<< FAILURE! org.opentest4j.AssertionFailedError: expected: <5> but was: <2> at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:527) at org.apache.hadoop.ozone.recon.api.TestContainerStateCounts.testDeletedContainerCount(TestContainerStateCounts.java:383)
Attachments
Issue Links
- links to