Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-70103

Fix the accuracy of the test assertion in mirror_reads.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Service Arch 2022-10-17, Service Arch 2022-10-31, Service Arch 2022-11-14
    • 13

      The issue is outlined in the comment of the linked BF.

      Possible fixes:

      1. Change naming and semantics of metrics. Example name changes could be from resolved to acknowledged/receivedResponse, and from received to recognized/mirrored. The metrics can be placed in more precise locations based on names, and the assertions can be reorganized or changed.
      2. Add a test only metric to measure how many responses were not successful. The current received metric is only incremented if the responses were successful, so assertions can be changed to consider how many responses were successfully completed.

            Assignee:
            alex.li@mongodb.com Alex Li
            Reporter:
            alex.li@mongodb.com Alex Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: