TestMulitipleNNDataBlockScanner#testBlockScannerAfterRestart is racy
--------------------------------------------------------------------
Key: HDFS-3037
URL: https://issues.apache.org/jira/browse/HDFS-3037
Project: Hadoop HDFS
Issue Type: Bug
Components: test
Affects Versions: 0.24.0
Reporter: Aaron T. Myers
Assignee: Aaron T. Myers
Priority: Minor
In this test, we restart a DN in a running cluster, call MiniDFS#waitActive,
and then assert some things about the DN. Trouble is, MiniDFSCluster#waitActive
won't wait any time at all, since the DN had previously registered with the NN
and the NN never had time to realize the DN was dead.
--
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