summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/replica_sets_kill_secondaries_jscore_passthrough.yml
blob: c464f386c9558a26d3515505135d8a8ec4277f74 (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
  - jstests/core/txns/**/*.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
  # The following tests perform a write with a writeConcern of w=2 when 'testingReplication' is
  # true. This causes the test to hang because the secondary is running with the "rsSyncStopApply"
  # failpoint enabled.
  - jstests/core/geo_update_btree.js

executor:
  archive:
    hooks:
      - PeriodicKillSecondaries
  config:
    shell_options:
      eval: "testingReplication = true;"
      readMode: commands
  hooks:
  - class: CheckPrimary
  - class: PeriodicKillSecondaries
  fixture:
    class: ReplicaSetFixture
    mongod_options:
      syncdelay: 5
      set_parameters:
        enableTestCommands: 1
        numInitialSyncAttempts: 1
        logComponentVerbosity:
          replication:
            heartbeats: 2
            rollback: 2
          storage:
            recovery: 2
    num_nodes: 2
    voting_secondaries: false