[ https://issues.apache.org/jira/browse/YARN-5607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15452799#comment-15452799 ]
Rohith Sharma K S commented on YARN-5607: ----------------------------------------- As of now, all the wait-for*** methods are in MockRM. I think it can be moved to MockRM. Regarding util methods, basically need an refactoring test helper methods which are in multiple places. > Document TestContainerResourceUsage#waitForContainerCompletion > -------------------------------------------------------------- > > Key: YARN-5607 > URL: https://issues.apache.org/jira/browse/YARN-5607 > Project: Hadoop YARN > Issue Type: Test > Components: resourcemanager, test > Affects Versions: 2.9.0 > Reporter: Karthik Kambatla > Labels: newbie > > The logic in TestContainerResourceUsage#waitForContainerCompletion > (introduced in YARN-5024) is not immediately obvious. It could use some > documentation. Also, this seems like a useful helper method. Should this be > moved to one of the mock classes or to a util class? -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org