HDFS-12495. TestPendingInvalidateBlock#testPendingDeleteUnknownBlocks fails intermittently. Contributed by Eric Badger.

(cherry picked from commit e9b790db9d)
This commit is contained in:
Yiqun Lin 2017-09-26 17:21:42 +08:00
parent 7f3ed5f61e
commit 2e2f8e42cf
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ public class TestPendingInvalidateBlock {
Assert.assertEquals(0L, cluster.getNamesystem().getPendingDeletionBlocks());
// restart DataNodes
for (int i = 0; i < REPLICATION; i++) {
cluster.restartDataNode(dnprops[i], true);
cluster.restartDataNode(dnprops[i]);
}
cluster.waitActive();