chiacyu opened a new pull request, #7940:
URL: https://github.com/apache/ozone/pull/7940

   ## What changes were proposed in this pull request?
   - Use `storageClient` in place of `storageContainerLocationClient` and 
remove `storageContainerLocationClient` altogether in the test.
   - The 
[comment](https://github.com/apache/ozone/blob/c0da9afea477bea4101fb2f3849d09b9b8591fb1/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestContainerOperations.java#L230)
 // All nodes should be returned as they are all in service seems incorrect, 
one of the node is in DECOMMISSIONING state. The code is correct in asserting 
numOfdatanodes - 1, just the comment is misleading.
   - Use `cluster().getHddsDatanodes().size()` instead of [hardcoded 
value](https://github.com/apache/ozone/blob/c0da9afea477bea4101fb2f3849d09b9b8591fb1/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/hdds/scm/TestContainerOperations.java#L266).
   
   ## What is the link to the Apache JIRA
   [HDDS-12387](https://issues.apache.org/jira/browse/HDDS-12387)
   
   ## How was this patch tested?
   It can test by CI.


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