diff options
author | Gregory Wlodarek <gregory.wlodarek@mongodb.com> | 2020-08-12 11:49:19 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-08-12 23:21:21 +0000 |
commit | 09ec1c660b2fc1753d5ee008b6a722b518cf6377 (patch) | |
tree | 890fa434cc88f2fad3a9e703d2d033f9bead8a72 /jstests/replsets/last_op_visible.js | |
parent | ffd3325967460d6b41763f53ae41ec2912d6de48 (diff) | |
download | mongo-09ec1c660b2fc1753d5ee008b6a722b518cf6377.tar.gz |
SERVER-50280 Remove 'startSetIfSupportsReadMajority' test helper function in favour of the 'requires_majority_read_concern' tag
Diffstat (limited to 'jstests/replsets/last_op_visible.js')
-rw-r--r-- | jstests/replsets/last_op_visible.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/jstests/replsets/last_op_visible.js b/jstests/replsets/last_op_visible.js index 94a0b32cbf0..b3b6a7c4bcf 100644 --- a/jstests/replsets/last_op_visible.js +++ b/jstests/replsets/last_op_visible.js @@ -4,21 +4,13 @@ // We then confirm that a writeConcern majority write will be seen as the lastVisibleOp by a // majority read. // @tags: [requires_majority_read_concern] - -load("jstests/replsets/rslib.js"); - (function() { "use strict"; var name = 'lastOpVisible'; var replTest = new ReplSetTest( {name: name, nodes: 3, nodeOptions: {enableMajorityReadConcern: ''}, waitForKeys: true}); - -if (!startSetIfSupportsReadMajority(replTest)) { - jsTestLog("Skipping test since storage engine doesn't support majority read concern."); - replTest.stopSet(); - return; -} +replTest.startSet(); replTest.initiate(); var primary = replTest.getPrimary(); |