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/sharding/change_stream_update_lookup_read_concern.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/sharding/change_stream_update_lookup_read_concern.js')
-rw-r--r-- | jstests/sharding/change_stream_update_lookup_read_concern.js | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/jstests/sharding/change_stream_update_lookup_read_concern.js b/jstests/sharding/change_stream_update_lookup_read_concern.js index 3dc1fb47bfd..0d777166ad3 100644 --- a/jstests/sharding/change_stream_update_lookup_read_concern.js +++ b/jstests/sharding/change_stream_update_lookup_read_concern.js @@ -1,11 +1,10 @@ // Tests that a change stream's update lookup will use the appropriate read concern. In particular, // tests that the update lookup will return a version of the document at least as recent as the // change that we're doing the lookup for, and that change will be majority-committed. -// @tags: [uses_change_streams] +// @tags: [uses_change_streams, requires_majority_read_concern] (function() { "use strict"; -load('jstests/replsets/rslib.js'); // For startSetIfSupportsReadMajority. load("jstests/libs/profiler.js"); // For profilerHas*OrThrow() helpers. load("jstests/replsets/rslib.js"); // For reconfig(). @@ -43,11 +42,7 @@ const rst = new ReplSetTest({ settings: {chainingAllowed: false}, }); -if (!startSetIfSupportsReadMajority(rst)) { - jsTestLog("Skipping test since storage engine doesn't support majority read concern."); - rst.stopSet(); - return; -} +rst.startSet(); rst.initiate(); rst.awaitSecondaryNodes(); |