steveloughran commented on code in PR #7345:
URL: https://github.com/apache/hadoop/pull/7345#discussion_r1943173829


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-client/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestAMRMClient.java:
##########
@@ -560,13 +560,17 @@ public void testAMRMClientMatchStorage() throws 
YarnException, IOException {
         }
       }
       
-      assertEquals(2, allocatedContainerCount);
+      assertTrue(allocatedContainerCount <= 2);

Review Comment:
   LambdaTestUtils.eventually() is there to handle assertions which don't 
resolve immediately. 



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to