blob: 95e276ed112cfc627074c60e4e0293ff176fe749 (
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
|
test_kind: js_test
selector:
roots:
- jstests/core/**/*.js
- jstests/fle2/**/*.js
- src/mongo/db/modules/*/jstests/fle2/**/*.js
exclude_files:
# The set_param1.js test attempts to compare the response from running the {getParameter: "*"}
# command multiple times, which may observe the change to the "transactionLifetimeLimitSeconds"
# server parameter.
- jstests/core/**/set_param1.js
# These tests expect the logical session cache refresh thread to be turned off, so that refreshes
# can be triggered deterministically.
- jstests/core/**/list_all_local_sessions.js
- jstests/core/**/list_all_sessions.js
- jstests/core/**/list_sessions.js
# The awaitdata_getmore_cmd.js test tails the oplog and waits for the getMore batch size to equal
# zero. The CheckReplDBHashInBackground hook consistently runs and creates sessions. At the same
# time, the logical session cache refresh thread will flush these sessions to disk, creating more
# opLog entries. To avoid this infinite loop, we will denylist the test from this suite.
- jstests/core/**/awaitdata_getmore_cmd.js
# These tests verify that an expected number of update operations were tracked in the server
# status metrics, but the logical session cache refresh causes additional updates to be recorded.
- jstests/core/**/find_and_modify_metrics.js
- jstests/core/**/update_metrics.js
exclude_with_any_tags:
- assumes_standalone_mongod
executor:
archive:
hooks:
- CheckReplDBHashInBackground
- CheckReplDBHash
- CheckReplOplogs
- ValidateCollections
config:
shell_options:
eval: "testingReplication = true;"
hooks:
# The CheckReplDBHash hook waits until all operations have replicated to and have been applied
# on the secondaries, so we run the ValidateCollections hook after it to ensure we're
# validating the entire contents of the collection.
- class: CheckReplDBHashInBackground
- class: CheckReplOplogs
- class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20
fixture:
class: ReplicaSetFixture
mongod_options:
set_parameters:
enableTestCommands: 1
disableLogicalSessionCacheRefresh: false
logicalSessionRefreshMillis: 1000
num_nodes: 3
|