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

refactor jstests/sharding/opcounters.js as a unit test

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Fully Compatible
    • v8.0
    • Security 2024-08-05
    • 0

      jstests/sharding/opcounters.js tries to assert properties about the opcounters, but there are no guarntees that other operations not expressed in this file will not run against the cluster.
      This test could be expressed as a unit test to provide the same coverage with better bounds on the opcounters.

            Assignee:
            niaz.pavel@mongodb.com Niaz Pavel (Inactive)
            Reporter:
            lamont.nelson@mongodb.com Lamont Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: