YARN-6480. Timeout is too aggressive for TestAMRestart.testPreemptedAMRestartOnRMRestart. Contributed by Eric Badger

(cherry picked from commit 4168805502)
This commit is contained in:
Jason Lowe 2017-04-14 17:15:48 -05:00
parent d27f74d915
commit a61ec7c374
1 changed files with 1 additions and 1 deletions

View File

@ -480,7 +480,7 @@ public void testShouldNotCountFailureToMaxAttemptRetry() throws Exception {
// 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
// re-launch the AM.
@Test(timeout = 20000)
@Test(timeout = 60000)
public void testPreemptedAMRestartOnRMRestart() throws Exception {
YarnConfiguration conf = new YarnConfiguration();
conf.setClass(YarnConfiguration.RM_SCHEDULER, CapacityScheduler.class,