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

Create JS test for inserting from an array in jstest/core

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc2
    • Affects Version/s: 2.6.0-rc1
    • Component/s: Shell, Write Ops
    • Labels:

      We need a test in the core directory which verifies array insertion operations.

      toInsert = [];
      for (i = 0; i < 100 * 1000; ++i) { toInsert.push({_id: i, a: 1}) }
      db.foo.insert(toInsert);
      

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            andreas.nilsson Andreas Nilsson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: