HDFS-15378. TestReconstructStripedFile#testErasureCodingWorkerXmitsWeight is failing on trunk. Contributed by hemanthboyina.
(cherry picked from commit 8db38c98a6
)
This commit is contained in:
parent
c95bacfa2a
commit
d40f953c6e
|
@ -599,7 +599,8 @@ public class TestReconstructStripedFile {
|
||||||
DataNodeFaultInjector.set(oldInjector);
|
DataNodeFaultInjector.set(oldInjector);
|
||||||
for (final DataNode curDn : cluster.getDataNodes()) {
|
for (final DataNode curDn : cluster.getDataNodes()) {
|
||||||
GenericTestUtils.waitFor(() -> curDn.getXceiverCount() <= 1, 10, 60000);
|
GenericTestUtils.waitFor(() -> curDn.getXceiverCount() <= 1, 10, 60000);
|
||||||
assertEquals(0, curDn.getXmitsInProgress());
|
GenericTestUtils.waitFor(() -> curDn.getXmitsInProgress() == 0, 10,
|
||||||
|
2500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue