summaryrefslogtreecommitdiff
path: root/jstests/sharding/change_streams_unsharded_becomes_sharded.js
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2020-08-12 11:49:54 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-12 23:21:21 +0000
commit7e329daf77353212e73ef0345e8293289c8e8570 (patch)
tree03b52168a0494becd5bbbf337228497edf46c985 /jstests/sharding/change_streams_unsharded_becomes_sharded.js
parent09ec1c660b2fc1753d5ee008b6a722b518cf6377 (diff)
downloadmongo-7e329daf77353212e73ef0345e8293289c8e8570.tar.gz
SERVER-50280 Remove 'supportsMajorityReadConcern' test helper function in favour of the 'requires_majority_read_concern' tag
Diffstat (limited to 'jstests/sharding/change_streams_unsharded_becomes_sharded.js')
-rw-r--r--jstests/sharding/change_streams_unsharded_becomes_sharded.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/jstests/sharding/change_streams_unsharded_becomes_sharded.js b/jstests/sharding/change_streams_unsharded_becomes_sharded.js
index b5d869af9df..60110d8bf99 100644
--- a/jstests/sharding/change_streams_unsharded_becomes_sharded.js
+++ b/jstests/sharding/change_streams_unsharded_becomes_sharded.js
@@ -3,20 +3,12 @@
// 'documentKey' to include the new shard key, and that a resume token obtained prior to the
// shardCollection command can be used to resume the stream even after the collection has been
// sharded.
-// @tags: [uses_change_streams]
+// @tags: [uses_change_streams, requires_majority_read_concern]
(function() {
"use strict";
load('jstests/libs/change_stream_util.js'); // For ChangeStreamTest.
-// For supportsMajorityReadConcern().
-load("jstests/multiVersion/libs/causal_consistency_helpers.js");
-
-if (!supportsMajorityReadConcern()) {
- jsTestLog("Skipping test since storage engine doesn't support majority read concern.");
- return;
-}
-
const testName = "change_streams_unsharded_becomes_sharded";
const st = new ShardingTest({
shards: 2,