You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2021/03/19 07:00:03 UTC

[GitHub] [hadoop] virajjasani commented on a change in pull request #2785: HDFS-15904 : De-flake TestBalancer#testBalancerWithSortTopNodes()

virajjasani commented on a change in pull request #2785:
URL: https://github.com/apache/hadoop/pull/2785#discussion_r597445601



##########
File path: hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/balancer/TestBalancer.java
##########
@@ -2297,7 +2297,9 @@ public void testBalancerWithSortTopNodes() throws Exception {
       maxUsage = Math.max(maxUsage, datanodeReport[i].getDfsUsed());
     }
 
-    assertEquals(200, balancerResult.bytesAlreadyMoved);
+    // Either 2 blocks of 100+100 bytes or 3 blocks of 100+100+50 bytes

Review comment:
       Sure thing, let me provide detailed comment as per your suggestion.
   Thanks




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org