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/01/06 22:58:01 UTC

[GitHub] [hadoop] amahussein edited a comment on pull request #2581: YARN-10553. Refactor TestDistributedShell

amahussein edited a comment on pull request #2581:
URL: https://github.com/apache/hadoop/pull/2581#issuecomment-755765315


   @goiri the code changes fix {{testDSShellWithEnforceExecutionType}}.
   The problem with the test was that it launches two containers executing cmd `date`. Apparently the two containers would exit fast. The unit test will stay blocked waiting for the containers to be exactly "2".
   This does not take into consideration that the containers count is 3 including the AMContainer.
   
   The fix was to get rid of the equality in the check, and change the application command to `ls`


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