missing_key.js should check its inserts and commands

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.5.12
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      missing_key.js does some inserts and commands without checking them

      coll.insert({x: 1, z: 1});
      coll.insert({y: 1, z: 1});
      db.adminCommand({enableSharding: 'testDb'});
      

      If these fail, this leads to harder-to-diagnose failures later on. We should use
      assert.writeOK() on the insers and assert.commandWorked on the command.

              Assignee:
              Kaloian Manassiev
              Reporter:
              Matthew Russotto
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: