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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 2.6.0-rc2
    • 2.6.0-rc1
    • Shell, Write Ops

    Description

      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);

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: