summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/replica_sets_kill_secondaries_jscore_passthrough.yml
blob: 752ea2e2b5509916add91c477b7dac134bec5ce1 (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
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 "rsSyncApplyStop"
  # failpoint enabled.
  - jstests/core/geo_update_btree.js
  # The following tests create large oplog entries, which can cause the secondary to fall off the
  # primary's oplog when run as a part of burn_in_tests.
  - jstests/core/max_doc_size.js
  - jstests/core/mr_bigobject.js
  # The following tests also create large oplog entries due to the maximum blocking sort size being
  # 100 MB.
  - jstests/core/explain_execution_error.js
  - jstests/core/sortb.js
  - jstests/core/sortg.js
  - jstests/core/sortj.js
  # Disable incompatible with json logging per SERVER-46235
  - jstests/core/txns/timestamped_reads_wait_for_prepare_oplog_visibility.js
  exclude_with_any_tags:
  # emptycapped is not supported with rollback using recover-to-timestamp.
  - requires_emptycapped

executor:
  archive:
    tests: true
    hooks:
      - PeriodicKillSecondaries
  config:
    shell_options:
      eval: "testingReplication = true;"
      readMode: commands
  hooks:
  - class: PeriodicKillSecondaries
  fixture:
    class: ReplicaSetFixture
    mongod_options:
      syncdelay: 5
      set_parameters:
        enableTestCommands: 1
        logComponentVerbosity:
          replication:
            heartbeats: 2
            rollback: 2
          storage:
            recovery: 2
    num_nodes: 2
    voting_secondaries: false
    replset_config_options:
      settings:
        # Secondaries don't vote, so turning the election timeout down will not cause undesirable
        # elections. It will make desirable elections (on fixture restart) go faster though. We
        # can't turn it down too low since that will lower the heartbeat interval and spam the logs.
        electionTimeoutMillis: 5000