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

View File

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