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

Check all writes succeed in where4.js

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.3.6
    • None
    • Querying
    • None
    • Fully Compatible
    • Query 13 (04/22/16), Query 14 (05/13/16)
    • 0

    Description

      We should check that all writes succeed in where4.js, in order to make build failures more diagnosable. Additionally, we can make the following improvements to the test:

      1) Make the test use its own database, to prevent conflict with other tests that use the system.js collection.

      2) Remove the insertion and deletion of {_id: "w4", value: "5"} in the system.js collection, since it serves no clear purpose.

      3) Instead of deleting {_id: "where4_equalsOne"} from the system.js collection, delete {_id: "where4_addOne"}, since this is the function that was added.

      Attachments

        Activity

          People

            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: