YARN-4312. TestSubmitApplicationWithRMHA fails on branch-2.7 and branch-2.6 as some of the test cases time out. Contributed by Varun Saxena.

This commit is contained in:
Tsuyoshi Ozawa 2015-10-30 16:25:44 +09:00
parent da564ef9a7
commit 6636441911
2 changed files with 5 additions and 2 deletions

View File

@ -106,6 +106,9 @@ Release 2.7.2 - UNRELEASED
YARN-3580. [JDK8] TestClientRMService.testGetLabelsToNodes fails. (Robert Kanter YARN-3580. [JDK8] TestClientRMService.testGetLabelsToNodes fails. (Robert Kanter
via junping_du) via junping_du)
YARN-4312. TestSubmitApplicationWithRMHA fails on branch-2.7 and branch-2.6
as some of the test cases time out. (Varun Saxena via ozawa)
Release 2.7.1 - 2015-07-06 Release 2.7.1 - 2015-07-06
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -224,7 +224,7 @@ public class TestSubmitApplicationWithRMHA extends RMHATestBase{
// during SubmitApplication Call: // during SubmitApplication Call:
// 1) RMStateStore already saved the ApplicationState when failover happens // 1) RMStateStore already saved the ApplicationState when failover happens
// 2) RMStateStore did not save the ApplicationState when failover happens // 2) RMStateStore did not save the ApplicationState when failover happens
@Test (timeout = 5000) @Test (timeout = 50000)
public void public void
testHandleRMHADuringSubmitApplicationCallWithSavedApplicationState() testHandleRMHADuringSubmitApplicationCallWithSavedApplicationState()
throws Exception { throws Exception {
@ -260,7 +260,7 @@ public class TestSubmitApplicationWithRMHA extends RMHATestBase{
Assert.assertEquals(app1.getApplicationId(), app0.getApplicationId()); Assert.assertEquals(app1.getApplicationId(), app0.getApplicationId());
} }
@Test (timeout = 5000) @Test (timeout = 50000)
public void public void
testHandleRMHADuringSubmitApplicationCallWithoutSavedApplicationState() testHandleRMHADuringSubmitApplicationCallWithoutSavedApplicationState()
throws Exception { throws Exception {