0
0
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:
Kaloian Manassiev 2017-07-27 16:30:45 -04:00
parent 71ff6d8f87
commit 00cf113dc5

View File

@ -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();
})();