[
https://issues.apache.org/jira/browse/YARN-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248048#comment-15248048
]
Sunil G commented on YARN-4947:
-------------------------------
Thanks [~bibinchundatt].
I think this option will also do fine. We can make {{skipDrainEvents}} to true
by default in {{MockRM}} ctor. And for test cases like
{{TestRMWebServicesNodes}}, it can be set to false. and internally make sure
{{isDrained}} is returning TRUE in such cases. This approach looks fine for me,
could you pls help to share a patch with this approach.
> Test timeout is happening for TestRMWebServicesNodes
> ----------------------------------------------------
>
> Key: YARN-4947
> URL: https://issues.apache.org/jira/browse/YARN-4947
> Project: Hadoop YARN
> Issue Type: Sub-task
> Reporter: Bibin A Chundatt
> Assignee: Bibin A Chundatt
> Attachments: 0001-YARN-4947.patch
>
>
> Testcase timeout for TestRMWebServicesNodes is happening after YARN-4893
> [timeout|https://builds.apache.org/job/PreCommit-YARN-Build/11044/testReport/]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)