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

selector:
  roots:
  - jstests/core/**/*.js
  exclude_files:
  # These tests are not expected to pass with replica-sets:
  - jstests/core/dbadmin.js
  - jstests/core/opcounters_write_cmd.js
  - jstests/core/read_after_optime.js
  - jstests/core/capped_update.js
  # Having duplicate namespaces is not supported and will cause initial sync to fail.
  - jstests/core/views/duplicate_ns.js
  # Restarting the catalog on the sync source will cause the downstream node to copy only a subset
  # of the required data.
  - jstests/core/restart_catalog.js

run_hook_interval: &run_hook_interval 20
executor:
  archive:
    hooks:
      - IntermediateInitialSync
  config:
    shell_options:
      eval: "testingReplication = true;"
      readMode: commands
  hooks:
  - class: CheckPrimary
  - class: IntermediateInitialSync
    n: *run_hook_interval
  - class: CleanEveryN
    n: *run_hook_interval
  fixture:
    class: ReplicaSetFixture
    mongod_options:
      set_parameters:
        enableTestCommands: 1
        numInitialSyncAttempts: 1
    num_nodes: 2
    start_initial_sync_node: True
    replset_config_options:
      settings:
        chainingAllowed: False