Skip to content

Commit

Permalink
Fix UT and checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
RuinanGu committed Aug 11, 2024
1 parent 299e710 commit 4448529
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -629,9 +629,9 @@ public void testDeleteOverReplicatedStripedBlock() throws Exception {
DataNodeTestUtils.triggerBlockReport(dn);
}
BlockManager bm = cluster.getNamesystem().getBlockManager();
GenericTestUtils.waitFor(()
-> bm.getPendingDeletionBlocksCount() == 0,
10, 2000);
Thread.sleep(3000);
GenericTestUtils.waitFor(() ->
bm.getPendingDeletionBlocksCount() == 0, 10, 2000);
for (DataNode dn : cluster.getDataNodes()) {
DataNodeTestUtils.triggerHeartbeat(dn);
}
Expand Down

0 comments on commit 4448529

Please sign in to comment.