diff options
Diffstat (limited to 'jstests/core/bulk_api_ordered.js')
-rw-r--r-- | jstests/core/bulk_api_ordered.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/core/bulk_api_ordered.js b/jstests/core/bulk_api_ordered.js index 6cc032f68fc..87ecd66a1b5 100644 --- a/jstests/core/bulk_api_ordered.js +++ b/jstests/core/bulk_api_ordered.js @@ -140,7 +140,7 @@ var executeTests = function() { coll.dropIndexes(); coll.remove({}); coll.ensureIndex({a : 1}, {unique : true}); -} +}; var buildVersion = parseInt(db.runCommand({buildInfo:1}).versionArray.slice(0, 3).join(""), 10); // Save the existing useWriteCommands function @@ -153,7 +153,7 @@ if(buildVersion >= 255) { // Force the use of useWriteCommands coll._mongo.useWriteCommands = function() { return true; - } + }; // Execute tests using legacy operations executeTests(); @@ -162,7 +162,7 @@ if(buildVersion >= 255) { // Force the use of legacy commands coll._mongo.useWriteCommands = function() { return false; -} +}; // Execute tests using legacy operations executeTests(); |