[SERVER-13119] Create JS test for inserting from an array in jstest/core Created: 10/Mar/14  Updated: 06/Jun/22  Resolved: 12/Mar/14

Status: Closed
Project: Core Server
Component/s: Shell, Write Ops
Affects Version/s: 2.6.0-rc1
Fix Version/s: 2.6.0-rc2

Type: Improvement Priority: Major - P3
Reporter: Andreas Nilsson Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-12763 Shell insert method provides confusin... Closed
related to SERVER-66990 restore insert1.js test case Closed
related to SERVER-67042 reduce number of documents in bulk in... Closed
Participants:

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



 Comments   
Comment by Githook User [ 12/Mar/14 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-13119: insert array test
Branch: master
https://github.com/mongodb/mongo/commit/760c3976a86fe75e8c767625fb96af7b4e610a12

Generated at Thu Feb 08 03:30:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.