YARN-6480. Timeout is too aggressive for TestAMRestart.testPreemptedAMRestartOnRMRestart. Contributed by Eric Badger
(cherry picked from commit 416880550214e58f2284a045ad0c96ba4aa78ea8)
This commit is contained in:
parent
53da65ef8b
commit
1699b20526
@ -490,7 +490,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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user