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

Improvements to core/push2.js jstest

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 3.6.0-rc3
    • None
    • None
    • Query
    • 0

    Description

      We should make the following improvements to this test:

      1. Add assertions that the update performed actually matched/updated a document.
      2. Remove the print statement that executes on every loop. Instead, include the number of iterations in assertion messages. Also include the update result object in assertions.
      3. Reduce the number of loops - we should hit the 16MB BSON size limit in 23 iterations, well under the 100 currently configured.
      4. Modernize

      Attachments

        Activity

          People

            backlog-server-query Backlog - Query Team (Inactive)
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: