andyhuangdev opened a new pull request, #12098: URL: https://github.com/apache/ozone/pull/12098
## What changes were proposed in this pull request? Remove XceiverClientMetrics.reset(), the XceiverClientManager.resetXceiverClientMetrics() wrapper, and their two calls in TestKeyInputStream. Both callers already capture baseline metric counts and assert increments relative to those baselines, so resetting the shared metrics is unnecessary. ## What is the link to the Apache JIRA [HDDS-17860](https://issues.apache.org/jira/browse/HDDS-17860) ## How was this patch tested? - TestXceiverClientManagerMetrics passed. - TestKeyInputStream#testNonReplicationReads passed. - Checkstyle passed for hdds-client and ozone-integration-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]
