DFSTestUtil#waitCorruptReplicas doesn't sleep between checks
------------------------------------------------------------

                 Key: HDFS-3266
                 URL: https://issues.apache.org/jira/browse/HDFS-3266
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Aaron T. Myers
            Assignee: Aaron T. Myers


DFSTestUtil#waitCorruptReplicas runs a loop waiting for an expected number of 
corrupt replicas. Unfortunately, it doesn't sleep between iterations of this 
loop, causing tests to occasionally fail spuriously.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to