diff options
Diffstat (limited to 'jstests/slow2/rollback4.js')
-rw-r--r-- | jstests/slow2/rollback4.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/jstests/slow2/rollback4.js b/jstests/slow2/rollback4.js index 7d511568ed9..4929e3777ff 100644 --- a/jstests/slow2/rollback4.js +++ b/jstests/slow2/rollback4.js @@ -31,11 +31,12 @@ replTest.awaitReplication(); // Insert into master var big = { b:new Array( 1000 ).toString() }; -var bulk = master.getDB('db').c.initializeUnorderedBulkOp(); for( var i = 0; i < 1000000; ++i ) { - bulk.insert( big ); + if ( i % 10000 == 0 ) { + print( i ); + } + master.getDB( 'db' ).c.insert( big ); } -assert.writeOK(bulk.execute()); // Stop master replTest.stop( 0 ); |