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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to