From 5199db387d59f7233a0e52ac298df31e8ed8af20 Mon Sep 17 00:00:00 2001 From: Rohith Sharma K S Date: Thu, 11 Aug 2016 11:50:46 +0530 Subject: [PATCH] YARN-5492. TestSubmitApplicationWithRMHA is failing sporadically during precommit builds. Contributed by Vrushali C. --- .../server/resourcemanager/TestSubmitApplicationWithRMHA.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {