[ https://issues.apache.org/jira/browse/HDDS-2254?focusedWorklogId=328775&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-328775 ]
ASF GitHub Bot logged work on HDDS-2254: ---------------------------------------- Author: ASF GitHub Bot Created on: 15/Oct/19 20:23 Start Date: 15/Oct/19 20:23 Worklog Time Spent: 10m Work Description: avijayanhwx commented on pull request #31: HDDS-2254 : Fix flaky unit test TestContainerStateMachine#testRatisSn… URL: https://github.com/apache/hadoop-ozone/pull/31 …apshotRetention. ## What changes were proposed in this pull request? On locally trying out repeated runs of the unit test, the unit test failed intermittently while asserting "Null" value for CSM snapshot. This assertion is not valid when the other unit test in the class executes before and creates keys in the cluster/container. Hence, moved to a model where each unit test creates its own cluster. https://issues.apache.org/jira/browse/HDDS-2254 ## How was this patch tested? Ran the unit tests in the IDE and command line. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 328775) Time Spent: 1h 20m (was: 1h 10m) > Fix flaky unit testTestContainerStateMachine#testRatisSnapshotRetention > ----------------------------------------------------------------------- > > Key: HDDS-2254 > URL: https://issues.apache.org/jira/browse/HDDS-2254 > Project: Hadoop Distributed Data Store > Issue Type: Bug > Components: test > Affects Versions: 0.5.0 > Reporter: Siddharth Wagle > Assignee: Aravindan Vijayan > Priority: Major > Labels: pull-request-available > Time Spent: 1h 20m > Remaining Estimate: 0h > > Test always fails with assertion error: > {code} > java.lang.AssertionError > at org.junit.Assert.fail(Assert.java:86) > at org.junit.Assert.assertTrue(Assert.java:41) > at org.junit.Assert.assertTrue(Assert.java:52) > at > org.apache.hadoop.ozone.client.rpc.TestContainerStateMachine.testRatisSnapshotRetention(TestContainerStateMachine.java:188) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org