HDFS-12495. TestPendingInvalidateBlock#testPendingDeleteUnknownBlocks fails intermittently. Contributed by Eric Badger.
This commit is contained in:
parent
06e5a7b5cf
commit
e9b790db9d
|
@ -172,7 +172,7 @@ public class TestPendingInvalidateBlock {
|
||||||
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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue