elek opened a new pull request #1460:
URL: https://github.com/apache/hadoop-ozone/pull/1460


   …anager
   
   ## What changes were proposed in this pull request?
   
   `XceiverClientManager` is used everywhere in the ozone client (Key/Block 
Input/OutputStream) to get a client when required.
   
   To make it easier to create genesis/real unit tests, it would be better to 
use a generic interface instead of `XceiverClientManager` which can be replaced 
easily with a mock implementation.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-4298
   
   ## How was this patch tested?
   
   Usability: Created a real unit test (mocked-read branch on my fork) for 
HDDS-4285. 
   
   Correctness: CI 
   
   (this is a very simple change, I just introduced a new interface and 
Input/Ouptut streams use the interface instead of the implementation)


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

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



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

Reply via email to