[
https://issues.apache.org/jira/browse/HDDS-1332?focusedWorklogId=223719&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-223719
]
ASF GitHub Bot logged work on HDDS-1332:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Apr/19 17:30
Start Date: 05/Apr/19 17:30
Worklog Time Spent: 10m
Work Description: arp7 commented on issue #697: [HDDS-1332] Attempt to
fix flaky test testStartStopDatanodeStateMachine
URL: https://github.com/apache/hadoop/pull/697#issuecomment-480357865
Thanks for finding and fixing this @adoroszlai. Do you want to file a
separate Jira for this? The patch lgtm.
----------------------------------------------------------------
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: 223719)
Time Spent: 1h 10m (was: 1h)
> Add some logging for flaky test testStartStopDatanodeStateMachine
> -----------------------------------------------------------------
>
> Key: HDDS-1332
> URL: https://issues.apache.org/jira/browse/HDDS-1332
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Arpit Agarwal
> Assignee: Arpit Agarwal
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> testStartStopDatanodeStateMachine fails frequently in Jenkins. It also seems
> to have a timing issue which may be different from the Jenkins failure.
> E.g. If I add a 10 second sleep as below I can get the test to fail 100%.
> {code}
> @@ -163,6 +163,7 @@ public void testStartStopDatanodeStateMachine() throws
> IOException,
> try (DatanodeStateMachine stateMachine =
> new DatanodeStateMachine(getNewDatanodeDetails(), conf, null)) {
> stateMachine.startDaemon();
> + Thread.sleep(10_000L);
> {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]