Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-6527 Adding Unit-Test cases for S3-Gateway Endpoint Metrics
  3. HDDS-6688

S3G API tests should validate metrics in addition to metric specific testing

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • S3

    Description

      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

      Attachments

        Activity

          People

            arafat2198 Mohammad Arafat Khan
            kerneltime Ritesh H Shukla
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: