[
https://issues.apache.org/jira/browse/HDDS-2254?focusedWorklogId=329262&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-329262
]
ASF GitHub Bot logged work on HDDS-2254:
----------------------------------------
Author: ASF GitHub Bot
Created on: 16/Oct/19 17:02
Start Date: 16/Oct/19 17:02
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:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 329262)
Time Spent: 1h 40m (was: 1.5h)
> 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 40m
> 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: [email protected]
For additional commands, e-mail: [email protected]