[
https://issues.apache.org/jira/browse/YARN-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240340#comment-15240340
]
Bibin A Chundatt commented on YARN-4947:
----------------------------------------
[~sunilg]
{quote}
I am not very sure whether this is correct as we always return TRUE from
isDrained.
{quote}
i disagree to this .The existing testcase implementation
{{TestRMWebServicesNodes}} never drained event ever so should be fine.
{quote}
We can call this from those test cases (like those cases from YARN-4893) which
has to ensure events are processed and do next iteration of test case
execution. Else we will run in to similar issues, and may be more error prone.
{quote}
The cases we will hit this is only when Mock RM all services are not started.
So what all other cases are you expecting??
> 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)