Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-25904

include expected error codes in jstests/readonly/write_ops.js

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.5.1
    • None
    • Storage
    • Fully Compatible
    • Query 2016-12-12, Query 2017-01-23

    Description

      To prevent false positives, the following lines should include the appropriate expected error code in the assert.writeError() calls:

      https://github.com/mongodb/mongo/blob/7efbf73c48608675f3ce952429f59de2d1ba670f/jstests/readonly/write_ops.js#L12-L18

      (not sure if integrations is the right team, but I put it as that since it's in the readonly suite)

      Attachments

        Activity

          People

            kyle.suarez@mongodb.com Kyle Suarez
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: