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

This commit is contained in:
Yiqun Lin 2017-09-26 17:21:42 +08:00
parent 06e5a7b5cf
commit e9b790db9d
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();