summaryrefslogtreecommitdiff
path: root/jstests/replsets/arbiters_not_included_in_w2_wc.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/arbiters_not_included_in_w2_wc.js')
-rw-r--r--jstests/replsets/arbiters_not_included_in_w2_wc.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/jstests/replsets/arbiters_not_included_in_w2_wc.js b/jstests/replsets/arbiters_not_included_in_w2_wc.js
index ca391185e30..b0555add966 100644
--- a/jstests/replsets/arbiters_not_included_in_w2_wc.js
+++ b/jstests/replsets/arbiters_not_included_in_w2_wc.js
@@ -7,6 +7,8 @@
* A w:2 write would thus require only one additional member to fully satisfy the write concern
* after committing. This test therefore shuts down the both secondaries and verifies that neither
* of the arbiters gets picked in its place and the w:2 write times out instead.
+ *
+ * @tags: [requires_fcv_53]
*/
(function() {
@@ -16,7 +18,7 @@ const name = "arbiters_not_included_in_w2_wc";
const rst = new ReplSetTest({name: name, nodes: 5});
const nodes = rst.nodeList();
-rst.startSet();
+rst.startSet({setParameter: {allowMultipleArbiters: true}});
rst.initiate({
"_id": name,
"members": [
@@ -49,4 +51,4 @@ assert.commandFailedWithCode(testColl.insert({"b": 2}, {writeConcern: {w: 2, wti
ErrorCodes.WriteConcernFailed);
rst.stopSet();
-})(); \ No newline at end of file
+})();