You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "raju-balpande (via GitHub)" <gi...@apache.org> on 2024/05/16 16:20:36 UTC

[PR] HDDS-2643. TestOzoneDelegationTokenSecretManager#testRenewTokenFailureRenewalTime fails intermittently [ozone]

raju-balpande opened a new pull request, #6688:
URL: https://github.com/apache/ozone/pull/6688

   ## What changes were proposed in this pull request?
   TestOzoneDelegationTokenSecretManager#testRenewTokenFailureRenewalTime fails intermittently
   
   There is 'OzoneDelegationTokenSecretManager.run()' check every five seconds(or lesser if value is configured) for the expired tokens to be removed from the cache and in rare scenario if our thread doesn't get control before it, the expired token may get out of cache and hence will have to consider this as a valid scenario. I have modified the code to accommodate that condition. We are testing the exceptions to be thrown as part of this test method.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-2643
   
   ## How was this patch tested?
   Tested the modified code with 500 runs having 25 splits and 20 iterations, it is working 100% fine https://github.com/raju-balpande/apache_ozone/actions/runs/9114752214
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-2643. TestOzoneDelegationTokenSecretManager#testRenewTokenFailureRenewalTime fails intermittently [ozone]

Posted by "sadanand48 (via GitHub)" <gi...@apache.org>.
sadanand48 merged PR #6688:
URL: https://github.com/apache/ozone/pull/6688


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org