[
https://issues.apache.org/jira/browse/YARN-1454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13835192#comment-13835192
]
Karthik Kambatla commented on YARN-1454:
----------------------------------------
I believe the fix is to add a sleep in the test:
{code}
Long renewDateBeforeRenew = allTokensRM2.get(dtId1);
try{
+ // Sleep for one millisecond to make sure renewDataAfterRenew is greater
+ Thread.sleep(1);
// renew recovered token
rm2.getRMDTSecretManager().renewToken(token1, "renewer1");
} catch(Exception e) {
{code}
> TestRMRestart.testRMDelegationTokenRestoredOnRMRestart is failing
> intermittently
> ---------------------------------------------------------------------------------
>
> Key: YARN-1454
> URL: https://issues.apache.org/jira/browse/YARN-1454
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Jian He
> Assignee: Jian He
>
--
This message was sent by Atlassian JIRA
(v6.1#6144)