summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/out_majority_read_replset.js
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2020-08-12 11:49:19 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-12 23:21:21 +0000
commit09ec1c660b2fc1753d5ee008b6a722b518cf6377 (patch)
tree890fa434cc88f2fad3a9e703d2d033f9bead8a72 /jstests/noPassthrough/out_majority_read_replset.js
parentffd3325967460d6b41763f53ae41ec2912d6de48 (diff)
downloadmongo-09ec1c660b2fc1753d5ee008b6a722b518cf6377.tar.gz
SERVER-50280 Remove 'startSetIfSupportsReadMajority' test helper function in favour of the 'requires_majority_read_concern' tag
Diffstat (limited to 'jstests/noPassthrough/out_majority_read_replset.js')
-rw-r--r--jstests/noPassthrough/out_majority_read_replset.js10
1 files changed, 2 insertions, 8 deletions
diff --git a/jstests/noPassthrough/out_majority_read_replset.js b/jstests/noPassthrough/out_majority_read_replset.js
index 9bef6fe2fb6..67b13e74443 100644
--- a/jstests/noPassthrough/out_majority_read_replset.js
+++ b/jstests/noPassthrough/out_majority_read_replset.js
@@ -1,9 +1,8 @@
// Tests the $out and read concern majority.
-// @tags: [resumable_index_build_incompatible]
+// @tags: [resumable_index_build_incompatible, requires_majority_read_concern]
(function() {
"use strict";
-load("jstests/replsets/rslib.js"); // For startSetIfSupportsReadMajority.
load("jstests/libs/write_concern_util.js"); // For stopReplicationOnSecondaries.
// This test create indexes with majority of nodes not avialable for replication. So, disabling
@@ -21,12 +20,7 @@ if (jsTest.options().noJournal &&
return;
}
-if (!startSetIfSupportsReadMajority(rst)) {
- jsTestLog("Skipping test since storage engine doesn't support majority read concern.");
- rst.stopSet();
- return;
-}
-
+rst.startSet();
rst.initiate();
const name = "out_majority_read";