summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/sharded_collections_single_writes_without_shard_key_jscore_passthrough.yml
blob: 7e0eb0d75688cf196dd4108d46c735b2b7c0650b (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
test_kind: js_test

selector:
  roots:
  - jstests/core/write/**/*.js
  exclude_files:
  # The following tests fail because a certain command or functionality is not supported by mongos.
  # This command or functionality is placed in a comment next to the failing test.
  - jstests/core/**/collection_truncate.js  # emptycapped.
  # These tests create secondary unique: true indexes without the shard key prefix.
  - jstests/core/**/batch_write_command_update.js
  - jstests/core/**/batch_write_command_w0.js
  - jstests/core/**/bulk_api_unordered.js
  - jstests/core/**/bulk_api_ordered.js
  # Test assertions expect a certain document is deleted whereas updateOnes, deleteOnes, and
  # findAndModify without shard key can pick and modify any matching document.
  - jstests/core/**/crud_api.js
  # TODO SERVER-76907: Include hint stage if the original query provides one.
  - jstests/core/**/update_hint.js
  - jstests/core/**/delete_hint.js
  - jstests/core/**/find_and_modify_hint.js
  # Aggregation does not support $where.
  - jstests/core/**/find_and_modify_concurrent_update.js
  - jstests/core/**/find_and_modify_where.js
  # {multi: true} upsert requires specifying the full shard key.
  - jstests/core/**/update_multi_halts.js
  - jstests/core/**/updatei.js
  # {multi: true} update testing behavior not applicable to sharded clusters
  - jstests/core/**/updatej.js
  - jstests/core/**/write_result.js

  exclude_with_any_tags:
  - assumes_against_mongod_not_mongos
  # Tests tagged with the following will fail because they assume collections are not sharded.
  - assumes_no_implicit_collection_creation_after_drop
  - cannot_create_unique_index_when_using_hashed_shard_key

executor:
  archive:
    hooks:
      - CheckReplDBHash
      - CheckMetadataConsistencyInBackground
      - ValidateCollections
  config:
    shell_options:
      eval: load("jstests/libs/override_methods/implicitly_shard_accessed_collections.js")
  hooks:
  - class: CheckReplDBHash
  - class: CheckMetadataConsistencyInBackground
  - class: ValidateCollections
  - class: CleanEveryN
    n: 20
  fixture:
    class: ShardedClusterFixture
    num_shards: 2
    enable_balancer: false
    mongos_options:
      set_parameters:
        enableTestCommands: 1
    mongod_options:
      set_parameters:
        enableTestCommands: 1