|
@@ -480,7 +480,7 @@ public class TestAMRestart {
|
|
// Test RM restarts after AM container is preempted, new RM should not count
|
|
// Test RM restarts after AM container is preempted, new RM should not count
|
|
// AM preemption failure towards the max-retry-account and should be able to
|
|
// AM preemption failure towards the max-retry-account and should be able to
|
|
// re-launch the AM.
|
|
// re-launch the AM.
|
|
- @Test(timeout = 20000)
|
|
|
|
|
|
+ @Test(timeout = 60000)
|
|
public void testPreemptedAMRestartOnRMRestart() throws Exception {
|
|
public void testPreemptedAMRestartOnRMRestart() throws Exception {
|
|
YarnConfiguration conf = new YarnConfiguration();
|
|
YarnConfiguration conf = new YarnConfiguration();
|
|
conf.setClass(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class,
|
|
conf.setClass(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class,
|