Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-9931 Improve unit/integration tests
  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
    • None

    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
            ritesh Ritesh Shukla
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: