[ https://issues.apache.org/jira/browse/HDDS-6688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chia-Chuan Yu reassigned HDDS-6688: ----------------------------------- Assignee: Chia-Chuan Yu > S3G API tests should validate metrics in addition to metric specific testing > ---------------------------------------------------------------------------- > > Key: HDDS-6688 > URL: https://issues.apache.org/jira/browse/HDDS-6688 > Project: Apache Ozone > Issue Type: Sub-task > Components: S3 > Reporter: Ritesh Shukla > Assignee: Chia-Chuan Yu > Priority: Major > > To insure that all code paths while executing S3 APIs, the corresponding > metrics are correctly updated, it is important to check metrics for all API > tests. > * Move newly added metrics _assertions_ to the corresponding test cases in > endpoint/operation-specific test classes under > {{hadoop-ozone/s3gateway/src/test/java/org/apache/hadoop/ozone/s3/endpoint}}. > * Move complete test method if no corresponding test case exists > * Make sure all scenarios have metrics assertions > This is coming out of a review comment here: > https://github.com/apache/ozone/pull/3302#discussion_r852883766 -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org