blob: 5b214e065c12803e21a8732e9edc62d127050467 (
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
|
test_kind: js_test
selector:
roots:
- jstests/aggregation/*.js
- jstests/aggregation/bugs/*.js
- jstests/aggregation/expressions/*.js
- jstests/aggregation/sources/*/*.js
exclude_files:
- jstests/aggregation/bugs/server18198.js # Uses a mocked mongo client to test read preference.
- jstests/aggregation/mongos_slaveok.js # Majority read on secondary requires afterOpTime.
- jstests/aggregation/shard_targeting.js # Cannot specify write concern when
# secondaryThrottle is not set.
- jstests/aggregation/sources/collStats/shard_host_info.js # Cannot specify write concern when
# secondaryThrottle is not set.
- jstests/aggregation/sources/facet/use_cases.js # Cannot specify write concern when
# secondaryThrottle is not set.
# TODO (SERVER-29127) The CappedInsertNotifier wakes up the change stream's collection scan before
# it can see the new insert, so it will immediately see EOF and go back to sleep. This will cause
# the test to fail, since it is expecting an insert to immediately wake up the change stream and
# return the new result.
- jstests/aggregation/sources/changeStream/only_wake_getmore_for_relevant_changes.js
- jstests/aggregation/testSlave.js # Majority read on secondary requires afterOpTime.
- jstests/aggregation/sources/out/*.js # Cannot specify write concern when secondaryThrottle is not set.
executor:
config:
shell_options:
global_vars:
TestData:
defaultReadConcernLevel: majority
enableMajorityReadConcern: ''
eval: "var testingReplication = true; load('jstests/libs/override_methods/set_read_and_write_concerns.js');"
readMode: commands
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: CheckReplOplogs
- class: CheckReplDBHash
- class: ValidateCollections
fixture:
class: ReplicaSetFixture
mongod_options:
bind_ip_all: ''
enableMajorityReadConcern: ''
set_parameters:
enableTestCommands: 1
numInitialSyncAttempts: 1
num_nodes: 2
# Needs to be set for any ephemeral or no-journaling storage engine
write_concern_majority_journal_default: false
|