Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-742

Improve sh.status() test coverage

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell API
    • Labels:
      None
    • 3

      MONGOSH-740 broke the collection.getShardDistribution() tests, but not the sh.status() ones, when it should have broken the latter as well. We should make sure that our integration tests actually cover sh.status() properly. We can do that by passing the second argument to sh.status() with a pre-populated fake config db.

            Assignee:
            Unassigned Unassigned
            Reporter:
            anna.henningsen@mongodb.com Anna Henningsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: