From 00cf113dc5994b610e72607909fca9f839717e6c Mon Sep 17 00:00:00 2001 From: Kaloian Manassiev Date: Thu, 27 Jul 2017 16:30:45 -0400 Subject: [PATCH] SERVER-28752 Lower the number of inserted entries in insertMulti.js --- jstests/noPassthroughWithMongod/insertMulti.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/jstests/noPassthroughWithMongod/insertMulti.js b/jstests/noPassthroughWithMongod/insertMulti.js index 2d6fb3a9df4..2000669d698 100644 --- a/jstests/noPassthroughWithMongod/insertMulti.js +++ b/jstests/noPassthroughWithMongod/insertMulti.js @@ -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(); })();