[ https://issues.apache.org/jira/browse/YARN-1765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13914223#comment-13914223 ]
Xuan Gong commented on YARN-1765: --------------------------------- bq. No need for RMAppManager.getRMContext(). The context is already available in the constructor, just cache it. done bq. MockRM changes are completely unnecessary, the API you want already exists fixed bq. Move the test to a failover package? We should move all tests related to HA/fail-over to a new package. It's getting increasingly crowded in the base package. Can we do this at separate ticket ? It may need some time to figure out the proper directory to have all HA/fail-over tests bq. Document all the tests in the test-file and add timeouts. done bq. Doesn't like all the tests have the right names. Fix them to be more apt. done bq. In failOver* methods, assert the expected app and app-attempt state before killing the app. Also assert app-state immediately after fail-over succeeds. done bq. Validate the response from killApp() method in all tests. Specifically validate KillApplicationResponse.getIsKillCompleted(). done bq. There is one other important test that we need to write as follow added > Write test cases to verify that killApplication API works in RM HA > ------------------------------------------------------------------ > > Key: YARN-1765 > URL: https://issues.apache.org/jira/browse/YARN-1765 > Project: Hadoop YARN > Issue Type: Sub-task > Reporter: Xuan Gong > Assignee: Xuan Gong > Attachments: YARN-1765.1.patch, YARN-1765.2.patch > > -- This message was sent by Atlassian JIRA (v6.1.5#6160)