blob: 83817f9039ee7fff964f9d7e3f170cc799237888 (
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
|
test_kind: js_test
selector:
roots:
- jstests/aggregation/**/*.js
exclude_files:
- jstests/aggregation/extras/*.js
- jstests/aggregation/data/*.js
# The following tests start their own ReplSetTest.
- jstests/aggregation/testSlave.js
- jstests/aggregation/sources/changeStream/*.js
# The following tests start their own mongod.
- jstests/aggregation/bugs/cursor_timeout.js
- jstests/aggregation/bugs/lookup_unwind_getmore.js
- jstests/aggregation/bugs/lookup_unwind_killcursor.js
# This test makes assertions about whether aggregations will need to spill to disk, which assumes
# all the data is located on a single shard.
- jstests/aggregation/bugs/server9444.js
# TODO SERVER-32311: These tests use getAggPlanStage(), which can't handle sharded explain output.
- jstests/aggregation/match_swapping_renamed_fields.js
- jstests/aggregation/use_query_project_and_sort.js
- jstests/aggregation/use_query_projection.js
- jstests/aggregation/use_query_sort.js
# TODO: Remove when SERVER-23229 is fixed.
- jstests/aggregation/bugs/groupMissing.js
exclude_with_any_tags:
# Tests tagged with the following will fail because they assume collections are not sharded.
- assumes_no_implicit_collection_creation_after_drop
- assumes_no_implicit_index_creation
- assumes_unsharded_collection
- cannot_create_unique_index_when_using_hashed_shard_key
- requires_sharding
executor:
archive:
hooks:
- CheckReplDBHash
- ValidateCollections
config:
shell_options:
readMode: commands
eval: load("jstests/libs/override_methods/implicitly_shard_accessed_collections.js")
hooks:
- class: CheckReplDBHash
- class: ValidateCollections
- class: CleanEveryN
n: 20
fixture:
class: ShardedClusterFixture
num_shards: 2
mongos_options:
set_parameters:
enableTestCommands: 1
mongod_options:
set_parameters:
enableTestCommands: 1
numInitialSyncAttempts: 1
|