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

Sunil G commented on YARN-4947:
-------------------------------

HI [~bibinchundatt]
I am not very sure whether this is correct as we always return TRUE from 
isDrained.

I think its better if we remove {{drainEvents}} from {{MockRM}}. 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.
[~djp], [~brahma] and [~bibinchundatt] thoughts?

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

Reply via email to