hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDDS-1332) Skip flaky test - testStartStopDatanodeStateMachine
Date Sat, 23 Mar 2019 19:42:00 GMT
Arpit Agarwal created HDDS-1332:
-----------------------------------

             Summary: Skip 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


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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Mime
View raw message