This is an automated email from the ASF dual-hosted git repository.
tasanuma pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new 187b4a6 HDFS-15378.
TestReconstructStripedFile#testErasureCodingWorkerXmitsWeight is failing on
trunk. Contributed by hemanthboyina.
187b4a6 is described below
commit 187b4a63a400cfbad40600e7286eff35ea4dc09c
Author: Ayush Saxena <[email protected]>
AuthorDate: Sat Jun 27 19:13:01 2020 +0530
HDFS-15378. TestReconstructStripedFile#testErasureCodingWorkerXmitsWeight
is failing on trunk. Contributed by hemanthboyina.
(cherry picked from commit 8db38c98a6c6ce9215ea998a2f544b2eabca4340)
---
.../test/java/org/apache/hadoop/hdfs/TestReconstructStripedFile.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestReconstructStripedFile.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestReconstructStripedFile.java
index 7dd9a20..6c769f9 100644
---
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestReconstructStripedFile.java
+++
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestReconstructStripedFile.java
@@ -600,7 +600,8 @@ public class TestReconstructStripedFile {
DataNodeFaultInjector.set(oldInjector);
for (final DataNode curDn : cluster.getDataNodes()) {
GenericTestUtils.waitFor(() -> curDn.getXceiverCount() <= 1, 10,
60000);
- assertEquals(0, curDn.getXmitsInProgress());
+ GenericTestUtils.waitFor(() -> curDn.getXmitsInProgress() == 0, 10,
+ 2500);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]