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