Fix error catching in resharding_with_write_concern_timeout.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • ClusterScalability Sep29-Oct13
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When the find command executed by this line fails, it would throw an exception instead of returning a response with ok: 0. So we should either execute the command using runCommand() or write the line in a try/catch. 

            Assignee:
            Cheahuychou Mao
            Reporter:
            Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: