mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
SERVER-28752 Lower the number of inserted entries in insertMulti.js
This commit is contained in:
parent
71ff6d8f87
commit
00cf113dc5
@ -43,8 +43,11 @@
|
||||
t.drop();
|
||||
var doc = makeDocument(16 * 1024);
|
||||
var docs = [];
|
||||
for (var i = 0; i < 1500; i++)
|
||||
for (var i = 0; i < 1000; i++)
|
||||
docs.push(Object.extend({}, doc));
|
||||
t.insert(docs);
|
||||
assert.eq(null, t.getDB().getLastError());
|
||||
assert.eq(t.count(), docs.length);
|
||||
|
||||
t.drop();
|
||||
})();
|
||||
|
Loading…
Reference in New Issue
Block a user