summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/replica_sets_jscore_passthrough.yml
blob: 754d575520c2f9990047c0b916c4952cac0fcb67 (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
64
65
66
67
68
69
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
  # These tests change the featureCompatibilityVersion which makes it so transactions aren't
  # supported.
  - jstests/core/txns/abort_transactions_on_FCV_downgrade.js
  # These tests change the transactionLifetimeLimitSeconds server parameter which conflicts with how
  # the CheckReplDBHashInBackground hook doesn't want transactions to be reaped while it is running.
  - jstests/core/txns/abort_expired_transaction.js
  - jstests/core/txns/abort_transaction_thread_does_not_block_on_locks.js
  - jstests/core/txns/kill_op_on_txn_expiry.js
  # The set_param1.js test attempts to compare the response from running the {getParameter: "*"}
  # command multiple times, which may observe the change to the "transactionLifetimeLimitSeconds"
  # server parameter.
  - jstests/core/set_param1.js
  # TODO SERVER-35217: Attempting to kill a session while multiple transactions have been started on
  # the server may lead to deadlock.
  - jstests/core/txns/kill_sessions_kills_transaction.js
  # TODO (SERVER-35865): Unblacklist when we correctly write and apply 'commitTransaction' oplog
  # entries.
  - jstests/core/txns/commit_prepared_transaction.js
  - jstests/core/txns/disallow_operations_on_prepared_transaction.js
  - jstests/core/txns/ensure_active_txn_for_prepare_transaction.js
  - jstests/core/txns/timestamped_reads_wait_for_prepare_oplog_visibility.js
  - jstests/core/txns/prepare_requires_fcv42.js

executor:
  archive:
    hooks:
      - CheckReplDBHash
      - CheckReplDBHashInBackground
      - CheckReplOplogs
      - ValidateCollections
  config:
    shell_options:
      eval: "testingReplication = true;"
      readMode: commands
  hooks:
  # The CheckReplDBHash hook waits until all operations have replicated to and have been applied
  # on the secondaries, so we run the ValidateCollections hook after it to ensure we're
  # validating the entire contents of the collection.
  - class: CheckReplDBHashInBackground
  - class: CheckReplOplogs
  - class: CheckReplDBHash
  - class: ValidateCollections
  - class: CleanEveryN
    n: 20
  fixture:
    class: ReplicaSetFixture
    mongod_options:
      set_parameters:
        enableTestCommands: 1
        numInitialSyncAttempts: 1
        # When running tests that intentionally trigger a DuplicateKeyError, we somehow end up
        # performing an atClusterTime read in the CheckReplDBHashInBackground hook based on an
        # operationTime that is greater than anything in the oplog. The periodic no-op writer must
        # be enabled to ensure that we eventually reach the clusterTime we are waiting for.
        #
        # TODO SERVER-35156: Remove the following line to disable the periodic no-op writer.
        writePeriodicNoops: 1
    num_nodes: 2