[ https://issues.apache.org/jira/browse/YARN-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14542678#comment-14542678 ]
Karthik Kambatla commented on YARN-2921: ---------------------------------------- Thanks Tsuyoshi for fixing this. Just curious - do we know how much improvement this leads to when running RM tests. > Fix MockRM/MockAM#waitForState sleep too long > --------------------------------------------- > > Key: YARN-2921 > URL: https://issues.apache.org/jira/browse/YARN-2921 > Project: Hadoop YARN > Issue Type: Improvement > Components: test > Affects Versions: 2.6.0, 2.7.0 > Reporter: Karthik Kambatla > Assignee: Tsuyoshi Ozawa > Fix For: 2.8.0 > > Attachments: YARN-2921.001.patch, YARN-2921.002.patch, > YARN-2921.003.patch, YARN-2921.004.patch, YARN-2921.005.patch, > YARN-2921.006.patch, YARN-2921.007.patch, YARN-2921.008.patch, > YARN-2921.008.patch > > > MockRM#waitForState methods currently sleep for too long (2 seconds and 1 > second). This leads to slow tests and sometimes failures if the > App/AppAttempt moves to another state. -- This message was sent by Atlassian JIRA (v6.3.4#6332)