[ 
https://issues.apache.org/jira/browse/YARN-9658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16877495#comment-16877495
 ] 

Tao Yang commented on YARN-9658:
--------------------------------

Thanks [~cheersyang] for the review and commit.

> Fix UT failures in TestLeafQueue
> --------------------------------
>
>                 Key: YARN-9658
>                 URL: https://issues.apache.org/jira/browse/YARN-9658
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>            Reporter: Tao Yang
>            Assignee: Tao Yang
>            Priority: Minor
>             Fix For: 3.3.0
>
>         Attachments: YARN-9658.001.patch
>
>
> In ActivitiesManager, if there's no yarn configuration in mock RMContext, 
> cleanup interval can't be initialized to 5 seconds by default, causing the 
> cleanup thread keeps running repeatedly without interval which may bring 
> problems to mockito framework, it caused OOM in this case, internally many 
> throwable objects were generated by incomplete mock.
> Add configuration for mock RMContext to fix failures in TestLeafQueue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to