blob: f32255a3af91ea903f834741a7b3d46a42233d18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
|
##########################################################
# THIS IS A GENERATED FILE -- DO NOT MODIFY.
# IF YOU WISH TO MODIFY THIS SUITE, MODIFY THE CORRESPONDING MATRIX SUITE MAPPING FILE
# AND REGENERATE THE MATRIX SUITES.
#
# matrix suite mapping file: buildscripts/resmokeconfig/matrix_suites/mappings/sharded_retryable_writes_downgrade_last_lts_new_old_old_new.yml
# regenerate matrix suites: buildscripts/resmoke.py generate-matrix-suites
##########################################################
executor:
archive:
hooks:
- CheckReplDBHash
- CheckReplOplogs
- ValidateCollections
tests: true
config:
shell_options:
eval: testingReplication = true; load('jstests/libs/override_methods/network_error_and_txn_override.js');
db = connect(TestData.connectionString); load("jstests/libs/override_methods/enable_sessions.js");
load("jstests/libs/override_methods/set_read_and_write_concerns.js"); load("jstests/libs/override_methods/fail_unclean_shutdown_incompatible_commands.js");
load("jstests/libs/override_methods/fail_unclean_shutdown_start_parallel_shell.js");
global_vars:
TestData:
alwaysInjectTransactionNumber: true
defaultReadConcernLevel: majority
logRetryAttempts: true
networkErrorAndTxnOverrideConfig:
retryOnNetworkErrors: true
overrideRetryAttempts: 3
sessionOptions:
readConcern:
level: majority
readPreference:
mode: primary
retryWrites: true
nodb: ''
fixture:
class: ShardedClusterFixture
configsvr_options:
mongod_options:
set_parameters:
enableTestCommands: 1
num_nodes: 2
mixed_bin_versions: new_old_old_new
mongod_options:
enableMajorityReadConcern: ''
set_parameters:
enableElectionHandoff: 0
enableTestCommands: 1
logComponentVerbosity:
replication:
heartbeats: 2
rollback: 2
storage:
recovery: 2
syncdelay: 5
wiredTigerEngineConfigString: debug_mode=(table_logging=true)
mongos_options:
set_parameters:
enableTestCommands: 1
num_rs_nodes_per_shard: 2
num_shards: 2
old_bin_version: last_lts
shard_options:
all_nodes_electable: true
replset_config_options:
settings:
catchUpTimeoutMillis: 0
hooks:
- class: ContinuousStepdown
config_stepdown: false
should_downgrade: true
- class: CheckReplOplogs
- class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20
matrix_suite: true
selector:
exclude_files:
- jstests/core/txns/**/*.js
- jstests/core/**/operation_latency_histogram.js
- jstests/core/**/profile2.js
- jstests/core/**/profile3.js
- jstests/core/**/profile_findandmodify.js
- jstests/core/**/top.js
- jstests/core/views/views_stats.js
- jstests/core/**/crud_api.js
- jstests/core/**/find_and_modify.js
- jstests/core/**/find_and_modify2.js
- jstests/core/**/find_and_modify_server6865.js
- jstests/core/**/project_with_collation.js
- jstests/core/**/currentop.js
- jstests/core/**/fsync.js
- jstests/core/**/killop_drop_collection.js
- jstests/core/**/explain_upsert.js
- jstests/core/**/indexes_multiple_commands.js
- jstests/core/**/create_indexes.js
- jstests/core/**/objid5.js
- jstests/core/**/coveredIndex1.js
- jstests/core/**/sortc.js
- jstests/core/**/bench_test*.js
- jstests/core/**/benchrun_pipeline_updates.js
- jstests/core/**/connection_string_validation.js
- jstests/core/**/explain_large_bounds.js
- jstests/core/**/list_collections_filter.js
- jstests/core/**/startup_log.js
- jstests/core/**/shell_connection_strings.js
- jstests/core/**/geo_s2ordering.js
- jstests/core/**/dbhash.js
- jstests/core/**/dbhash2.js
- jstests/core/**/explain_missing_database.js
- jstests/core/**/geo_2d_explain.js
- jstests/core/**/geo_s2explain.js
- jstests/core/**/geo_s2sparse.js
- jstests/core/**/mixed_version_replica_set.js
- jstests/core/timeseries/timeseries_merge.js
- jstests/core/**/command_let_variables.js
exclude_with_any_tags:
- assumes_against_mongod_not_mongos
- assumes_standalone_mongod
- assumes_no_implicit_collection_creation_after_drop
- assumes_no_implicit_index_creation
- assumes_unsharded_collection
- cannot_create_unique_index_when_using_hashed_shard_key
- assumes_read_concern_local
- requires_getmore
- requires_non_retryable_writes
- requires_non_retryable_commands
- does_not_support_stepdowns
- assumes_read_concern_unchanged
- assumes_write_concern_unchanged
- requires_fastcount
- requires_dbstats
- requires_collstats
- operations_longer_than_stepdown_interval
- uses_parallel_shell
- cannot_run_during_upgrade_downgrade
- requires_timeseries
roots:
- jstests/core/**/*.js
test_kind: js_test
|