YARN-2429. TestAMRMTokens.testTokenExpiry fails Intermittently with error message:Invalid AMRMToken (zxu via rkanter)
This commit is contained in:
parent
28bebc81db
commit
99b08a748e
@ -148,6 +148,9 @@ Release 2.8.0 - UNRELEASED
|
||||
YARN-2666. TestFairScheduler.testContinuousScheduling fails Intermittently.
|
||||
(Zhihai Xu via ozawa)
|
||||
|
||||
YARN-2429. TestAMRMTokens.testTokenExpiry fails Intermittently with
|
||||
error message:Invalid AMRMToken (zxu via rkanter)
|
||||
|
||||
Release 2.7.0 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -107,6 +107,12 @@ public TestAMRMTokens(Configuration conf) {
|
||||
@SuppressWarnings("unchecked")
|
||||
@Test
|
||||
public void testTokenExpiry() throws Exception {
|
||||
conf.setLong(
|
||||
YarnConfiguration.RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS,
|
||||
YarnConfiguration.
|
||||
DEFAULT_RM_AMRM_TOKEN_MASTER_KEY_ROLLING_INTERVAL_SECS);
|
||||
conf.setLong(YarnConfiguration.RM_AM_EXPIRY_INTERVAL_MS,
|
||||
YarnConfiguration.DEFAULT_RM_AM_EXPIRY_INTERVAL_MS);
|
||||
|
||||
MyContainerManager containerManager = new MyContainerManager();
|
||||
final MockRMWithAMS rm =
|
||||
|
Loading…
Reference in New Issue
Block a user