summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/clustered_collection_passthrough.yml
blob: 2bbfaf7866e97c06fadce98fd46152b3e483c32f (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
# This passthrough runs all core JS tests on a replica set fixture and automatically clusters
# all collections by _id.
test_kind: js_test

selector:
  roots:
  - jstests/core/**/*.js
  - jstests/fle2/**/*.js
  - src/mongo/db/modules/*/jstests/fle2/**/*.js
  exclude_files:

  # Assumes the _id index is real.
  - jstests/core/**/collmod_convert_to_ttl.js
  - jstests/core/**/index_create_too_many.js
  # Uses returnKey().
  - jstests/core/**/index_diag.js
  # Expects 'idIndex' field in the listCollections output.
  - jstests/core/**/list_collections1.js
  - jstests/core/**/explain_shell_helpers.js
  - jstests/core/txns/list_collections_not_blocked_by_txn.js
  # Doesn't expect clusteredIndex options on the collection.
  - jstests/core/**/list_collections_filter.js
  # Compares the result of listIndexes to numIndexesBefore in the createIndex output.
  - jstests/core/**/index_signature.js
  # Assumes the collection is not clustered by default.
  - jstests/core/timeseries/clustered_index_options.js
  - jstests/core/timeseries/timeseries_expire_collmod.js
  # Doesn't expect a failpoint to be enabled.
  - jstests/core/**/set_param1.js
  # Expects a correct index count in dbStats.
  - jstests/core/**/dbstats.js
  # Expects queries on _id to use IDHACK in explain.
  - jstests/core/**/agg_hint.js
  - jstests/core/**/explain_shell_helpers.js
  - jstests/core/**/projection_dotted_paths.js
  - jstests/core/**/wildcard_index_projection.js
  - jstests/core/**/find_and_modify_pipeline_update.js
  - jstests/core/**/update_pipeline_shell_helpers.js
  - jstests/core/**/idhack.js
  # Uses the unsupported 'autoIndexId' option.
  - jstests/core/**/queryoptimizera.js
  - jstests/core/**/index9.js
  # Expects the collection creation options not to change.
  - jstests/core/**/internal_rename_if_options_and_indexes_match.js
  # The _id index is expected to not have a 'unique' field.
  - jstests/core/**/list_indexes.js
  # Expects createIndex with 'clustered' option fails on a non-clustered collection.
  - jstests/core/**/clustered_collection_create_index_clustered.js
  # Tries to drop the clustered index.
  - jstests/core/**/drop_index.js
  - jstests/core/**/drop_indexes.js
  # Expects to see IXSCAN over _id (cluster key).
  - jstests/core/**/find_and_modify_hint.js
  - jstests/core/**/covered_index_sort_2.js
  # Expects duplicate key error to have _id index use specified.
  - jstests/core/**/uniqueness.js
  # Expects to see the usage of _id_ index by using $indexStats.
  - jstests/core/**/index_stats.js
  # TODO (SERVER-62707): bound collscans with regexes.
  - jstests/core/**/index_bounds_pipe.js
  # Expects an index on _id to cover the query.
  - jstests/core/**/covered_index_simple_id.js
  # TODO (SERVER-61259): $text not supported: "No query solutions"
  - jstests/core/**/fts6.js
  - jstests/core/**/fts_projection.js

  exclude_with_any_tags:
  - assumes_standalone_mongod

executor:
  archive:
    hooks:
      - CheckReplDBHashInBackground
      - CheckReplDBHash
      - ValidateCollections
  hooks:
  - class: CheckReplDBHashInBackground
  - class: CheckReplDBHash
  - class: ValidateCollections
  - class: CleanEveryN
    n: 20
  config:
    shell_options:
      eval: >-
        var testingReplication = true;
  fixture:
    class: ReplicaSetFixture
    mongod_options:
      set_parameters:
        enableTestCommands: 1
        # SBE is not compatible with clustered collections
        internalQueryFrameworkControl: "forceClassicEngine"
        failpoint.clusterAllCollectionsByDefault: "{mode: 'alwaysOn'}"
    num_nodes: 2