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

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