transactions_multi_writes.js should not use assert.writeOK for plain js objects

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2019-05-06
    • 21
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The assert in question:

      https://github.com/mongodb/mongo/blob/b8d3c0f4845092c4a52844f05153f38035fd96aa/jstests/sharding/transactions_multi_writes.js#L68

      This is because assert.writeOK can only check the writeErrors properly if it's a WriteResult/BulkWriteResult

            Assignee:
            Randolph Tan
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: