diff options
Diffstat (limited to 'jstests/replsets/replsets_killop.js')
-rw-r--r-- | jstests/replsets/replsets_killop.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/jstests/replsets/replsets_killop.js b/jstests/replsets/replsets_killop.js index 4e41046f8c8..3fb42d6a244 100644 --- a/jstests/replsets/replsets_killop.js +++ b/jstests/replsets/replsets_killop.js @@ -17,9 +17,11 @@ assert.soon(function() { }); // Start a parallel shell to insert new documents on the primary. -inserter = startParallelShell('var bulk = db.test.initializeUnorderedBulkOp(); \ - for( i = 1; i < ' + numDocs + - '; ++i ) { \ +inserter = startParallelShell( + 'var bulk = db.test.initializeUnorderedBulkOp(); \ + for( i = 1; i < ' + + numDocs + + '; ++i ) { \ bulk.insert({ a: i }); \ } \ bulk.execute();'); |