Skip to content

Commit 8db38c9

Browse files
committed
HDFS-15378. TestReconstructStripedFile#testErasureCodingWorkerXmitsWeight is failing on trunk. Contributed by hemanthboyina.
1 parent bed0a3a commit 8db38c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestReconstructStripedFile.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,8 @@ public void stripedBlockReconstruction() throws IOException {
571571
DataNodeFaultInjector.set(oldInjector);
572572
for (final DataNode curDn : cluster.getDataNodes()) {
573573
GenericTestUtils.waitFor(() -> curDn.getXceiverCount() <= 1, 10, 60000);
574-
assertEquals(0, curDn.getXmitsInProgress());
574+
GenericTestUtils.waitFor(() -> curDn.getXmitsInProgress() == 0, 10,
575+
2500);
575576
}
576577
}
577578
}

0 commit comments

Comments
 (0)