summaryrefslogtreecommitdiff
path: root/jstests/replsets/drop_collections_two_phase.js
diff options
context:
space:
mode:
authorBenety Goh <benety@mongodb.com>2017-06-28 09:54:43 -0400
committerBenety Goh <benety@mongodb.com>2017-06-28 17:28:12 -0400
commit8da913c726c7ce11a571c6600e08e0c27355b2cd (patch)
treed6260649c001845c77a79dc8d98fff2fe58a8180 /jstests/replsets/drop_collections_two_phase.js
parent086b9e1430f44c89dfb54b1d32cddb75fde1a621 (diff)
downloadmongo-8da913c726c7ce11a571c6600e08e0c27355b2cd.tar.gz
SERVER-21779 fixed misplaced write concern argument to collection drop command
Diffstat (limited to 'jstests/replsets/drop_collections_two_phase.js')
-rw-r--r--jstests/replsets/drop_collections_two_phase.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/drop_collections_two_phase.js b/jstests/replsets/drop_collections_two_phase.js
index a9bd196cdde..fb35984704d 100644
--- a/jstests/replsets/drop_collections_two_phase.js
+++ b/jstests/replsets/drop_collections_two_phase.js
@@ -76,7 +76,7 @@
// Drop the collection on the primary.
jsTestLog("Dropping collection '" + collToDrop + "' on primary node.");
- assert.commandWorked(primaryDB.runCommand({drop: collToDrop}, {writeConcern: {w: 1}}));
+ assert.commandWorked(primaryDB.runCommand({drop: collToDrop, writeConcern: {w: 1}}));
// Make sure the collection is now in 'drop-pending' state. The collection name should be of the
// format "system.drop.<optime>.<collectionName>", where 'optime' is the optime of the