From 66364419118c64c9d1c623f808f027ac45688759 Mon Sep 17 00:00:00 2001 From: Tsuyoshi Ozawa Date: Fri, 30 Oct 2015 16:25:44 +0900 Subject: [PATCH] YARN-4312. TestSubmitApplicationWithRMHA fails on branch-2.7 and branch-2.6 as some of the test cases time out. Contributed by Varun Saxena. --- hadoop-yarn-project/CHANGES.txt | 3 +++ .../server/resourcemanager/TestSubmitApplicationWithRMHA.java | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index ca843b68d4c..a0dc87ab7ef 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -106,6 +106,9 @@ Release 2.7.2 - UNRELEASED YARN-3580. [JDK8] TestClientRMService.testGetLabelsToNodes fails. (Robert Kanter 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 INCOMPATIBLE CHANGES diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestSubmitApplicationWithRMHA.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestSubmitApplicationWithRMHA.java index 4cceddd2940..4658d6030e4 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestSubmitApplicationWithRMHA.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/TestSubmitApplicationWithRMHA.java @@ -224,7 +224,7 @@ public class TestSubmitApplicationWithRMHA extends RMHATestBase{ // during SubmitApplication Call: // 1) RMStateStore already saved the ApplicationState when failover happens // 2) RMStateStore did not save the ApplicationState when failover happens - @Test (timeout = 5000) + @Test (timeout = 50000) public void testHandleRMHADuringSubmitApplicationCallWithSavedApplicationState() throws Exception { @@ -260,7 +260,7 @@ public class TestSubmitApplicationWithRMHA extends RMHATestBase{ Assert.assertEquals(app1.getApplicationId(), app0.getApplicationId()); } - @Test (timeout = 5000) + @Test (timeout = 50000) public void testHandleRMHADuringSubmitApplicationCallWithoutSavedApplicationState() throws Exception {