[ https://issues.apache.org/jira/browse/YARN-4947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15247917#comment-15247917 ]
Bibin A Chundatt commented on YARN-4947: ---------------------------------------- [~sunilg] How about adding. {noformat} rm = new MockRM(new Configuration(),boolean skipDrainEvents); {noformat} And so that for cases like this (registration of nm and drainEvents are not required) will be reusable and the default value to be false. > 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)