[
https://issues.apache.org/jira/browse/HDDS-1324?focusedWorklogId=222672&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-222672
]
ASF GitHub Bot logged work on HDDS-1324:
----------------------------------------
Author: ASF GitHub Bot
Created on: 03/Apr/19 22:42
Start Date: 03/Apr/19 22:42
Worklog Time Spent: 10m
Work Description: bharatviswa504 commented on pull request #676:
HDDS-1324. TestOzoneManagerHA tests are flaky
URL: https://github.com/apache/hadoop/pull/676#discussion_r271960508
##########
File path:
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHA.java
##########
@@ -222,7 +221,7 @@ public void testMultipartUploadWithOneOmNodeDown() throws
Exception {
// Stop one of the ozone manager, to see when the OM leader changes
// multipart upload is happening successfully or not.
cluster.stopOzoneManager(leaderOMNodeId);
-
+ Thread.sleep(NODE_FAILURE_TIMEOUT * 2);
Review comment:
Question: why this sleep is required?
----------------------------------------------------------------
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: 222672)
Time Spent: 40m (was: 0.5h)
> TestOzoneManagerHA seems to be flaky
> ------------------------------------
>
> Key: HDDS-1324
> URL: https://issues.apache.org/jira/browse/HDDS-1324
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Components: test
> Affects Versions: 0.5.0
> Reporter: Arpit Agarwal
> Assignee: Hanisha Koneru
> Priority: Major
> Labels: pull-request-available
> Time Spent: 40m
> Remaining Estimate: 0h
>
> TestOzoneManagerHA failed once with the following error:
> {code}
> [ERROR] Tests run: 8, Failures: 1, Errors: 0, Skipped: 0, Time elapsed:
> 105.931 s <<< FAILURE! - in org.apache.hadoop.ozone.om.TestOzoneManagerHA
> [ERROR] testOMRetryProxy(org.apache.hadoop.ozone.om.TestOzoneManagerHA) Time
> elapsed: 21.781 s <<< FAILURE!
> java.lang.AssertionError: expected:<30> but was:<10>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at
> org.apache.hadoop.ozone.om.TestOzoneManagerHA.testOMRetryProxy(TestOzoneManagerHA.java:305)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]