Improvements to core/push2.js jstest

XMLWordPrintableJSON

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

      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 - Query Team (Inactive)
            Reporter:
            James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: