sodonnel opened a new pull request #2425:
URL: https://github.com/apache/ozone/pull/2425


   Replication Manager currently uses Time.monotonicNow() in a few places to 
check if a pending command should be timed out. 
   
   This is difficult to test without adding sleeps in the tests. 
   
   We should inject a Clock object to use rather than making calls to 
SystemTime directly to allow tests more flexibility.
   
   ## What changes were proposed in this pull request?
   
   (Please fill in changes proposed in this fix)
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-5456
   
   ## How was this patch tested?
   
   New Unit test
   


-- 
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