HDFS-12495. TestPendingInvalidateBlock#testPendingDeleteUnknownBlocks fails intermittently. Contributed by Eric Badger.
(cherry picked from commit e9b790db9d
)
This commit is contained in:
parent
7f3ed5f61e
commit
2e2f8e42cf
|
@ -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