diff options
Diffstat (limited to 'jstests/core/bulk_api_unordered.js')
-rw-r--r-- | jstests/core/bulk_api_unordered.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/core/bulk_api_unordered.js b/jstests/core/bulk_api_unordered.js index 64893fe011a..0323dabd10b 100644 --- a/jstests/core/bulk_api_unordered.js +++ b/jstests/core/bulk_api_unordered.js @@ -155,7 +155,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 @@ -168,7 +168,7 @@ if(buildVersion >= 255) { // Force the use of useWriteCommands coll._mongo.useWriteCommands = function() { return true; - } + }; // Execute tests using legacy operations executeTests(); @@ -177,7 +177,7 @@ if(buildVersion >= 255) { // Force the use of legacy commands coll._mongo.useWriteCommands = function() { return false; -} +}; // Execute tests using legacy operations executeTests(); |