You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2022/04/06 07:19:49 UTC

[GitHub] [ozone] ArafatKhan2198 commented on a diff in pull request #3263: HDDS-6528. Adding Unit-Test cases for S3-Gateway Bucket-Endpoint Metrics.

ArafatKhan2198 commented on code in PR #3263:
URL: https://github.com/apache/ozone/pull/3263#discussion_r843557505


##########
hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/metrics/TestS3GatewayMetrics.java:
##########
@@ -110,4 +123,146 @@ public void testHeadObject() throws Exception {
     long curMetric = metrics.getHeadKeySuccess();
     assertEquals(1L, curMetric - oriMetric);
   }
-}
+
+  @Test
+  public void testGetBucketEndpointMetric() throws Exception {

Review Comment:
   The reason for that is because these Unit tests are written for all the metrics associated with the Endpoints exposed by the S3 API! would you want me to remove it?



-- 
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: issues-unsubscribe@ozone.apache.org

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


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