diff options
author | Jennifer Peshansky <jennifer.peshansky@mongodb.com> | 2022-02-01 18:24:22 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-02-14 21:14:39 +0000 |
commit | 53d7bceee61f73a1d6959edb5d490c3b338f3c0d (patch) | |
tree | f94c4e8c4412b8608dc506424858835d67fe512d /buildscripts | |
parent | 34642bf2f42f6ba945b40a672f5da74a83395b58 (diff) | |
download | mongo-53d7bceee61f73a1d6959edb5d490c3b338f3c0d.tar.gz |
SERVER-62681 Create change streams per shard cursor passthrough suite
Diffstat (limited to 'buildscripts')
-rw-r--r-- | buildscripts/resmokeconfig/suites/change_streams_per_shard_cursor_passthrough.yml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/change_streams_per_shard_cursor_passthrough.yml b/buildscripts/resmokeconfig/suites/change_streams_per_shard_cursor_passthrough.yml new file mode 100644 index 00000000000..db39ec22c09 --- /dev/null +++ b/buildscripts/resmokeconfig/suites/change_streams_per_shard_cursor_passthrough.yml @@ -0,0 +1,58 @@ +test_kind: js_test + +selector: + roots: + - jstests/change_streams/**/*.js + exclude_with_any_tags: + ## + # The next tags correspond to the special errors thrown by the + # set_read_and_write_concerns.js override when it refuses to replace the readConcern or + # writeConcern of a particular command. Above each tag are the message(s) that cause the tag to be + # warranted. + ## + # "Cowardly refusing to override write concern of command: ..." + - assumes_write_concern_unchanged + # Exclude any that assume sharding is disabled + - assumes_against_mongod_not_mongos + - assumes_unsharded_collection + +executor: + archive: + hooks: + - CheckReplDBHash + - ValidateCollections + config: + shell_options: + global_vars: + TestData: + defaultReadConcernLevel: null + enableMajorityReadConcern: '' + # Enable causal consistency for change streams suites using 1 node replica sets. See + # change_streams.yml for detailed explanation. + eval: >- + var testingReplication = true; + load('jstests/libs/override_methods/set_read_and_write_concerns.js'); + load('jstests/libs/override_methods/implicitly_shard_accessed_collections.js'); + load('jstests/libs/override_methods/enable_causal_consistency_without_read_pref.js'); + load('jstests/libs/override_methods/implicit_passthrough_to_shard_changestreams.js'); + hooks: + - class: CheckReplDBHash + - class: ValidateCollections + - class: CleanEveryN + n: 20 + fixture: + class: ShardedClusterFixture + mongos_options: + bind_ip_all: '' + set_parameters: + enableTestCommands: 1 + mongod_options: + bind_ip_all: '' + set_parameters: + enableTestCommands: 1 + writePeriodicNoops: 1 + periodicNoopIntervalSecs: 1 + coordinateCommitReturnImmediatelyAfterPersistingDecision: true + num_shards: 1 + enable_sharding: + - test |