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

Improvements to core/push2.js jstest

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.6.0-rc3
    • Component/s: None
    • Labels:
      None
    • Query
    • 0

      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

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

              Created:
              Updated:
              Resolved: