summaryrefslogtreecommitdiff
path: root/jstests/repl/repl5.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/repl/repl5.js')
-rw-r--r--jstests/repl/repl5.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/repl/repl5.js b/jstests/repl/repl5.js
index aeba7eb1095..eda48496656 100644
--- a/jstests/repl/repl5.js
+++ b/jstests/repl/repl5.js
@@ -14,10 +14,8 @@ doTest = function(signal, extraOpts) {
m = rt.start( true );
ma = m.getDB( "a" ).a;
- var bulk = ma.initializeUnorderedBulkOp();
for( i = 0; i < 10000; ++i )
- bulk.insert({ i: i });
- assert.writeOK(bulk.execute());
+ ma.save( { i:i } );
s = rt.start(false, extraOpts);
soonCountAtLeast( "a", "a", 1 );