avijayanhwx opened a new pull request #1604: HDDS-2254 : Fix flaky unit test TestContainerStateMachine#testRatisSnapshotRetention URL: https://github.com/apache/hadoop/pull/1604 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. Removed the null check since it does not test the core functionality of snapshot retention. https://issues.apache.org/jira/browse/HDDS-2254 How was this patch tested? Ran the unit tests a few hundred times in IDE in different order.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
