hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tasan...@apache.org
Subject [hadoop] branch branch-3.1 updated: HDFS-15378. TestReconstructStripedFile#testErasureCodingWorkerXmitsWeight is failing on trunk. Contributed by hemanthboyina.
Date Tue, 27 Apr 2021 14:20:52 GMT
This is an automated email from the ASF dual-hosted git repository.

tasanuma pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new d40f953  HDFS-15378. TestReconstructStripedFile#testErasureCodingWorkerXmitsWeight
is failing on trunk. Contributed by hemanthboyina.
d40f953 is described below

commit d40f953c6e4ffa953ba611a65a819755b2d4b630
Author: Ayush Saxena <ayushsaxena@apache.org>
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 bdac43e..95573b8 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
@@ -599,7 +599,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: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message