Fix command_diagnostics_sharded.js to run commands only on mongos

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0, 8.1.2, 8.0.13
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • v8.1, v8.0, v7.0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Right now that test has two sections: asserting on mongos logs and asserting on shard logs when we hit the failpoint. The section that asserts on shard logs runs commands directly against the shard. We should change this so that it runs commands against the mongos, this will require some assertion modifications.

              Assignee:
              Militsa Sotirova
              Reporter:
              Militsa Sotirova
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: