summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/read_concern_majority_passthrough.yml
blob: 1efc20ea6e0572dc1142320912a9bca51a271a64 (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
selector:
  js_test:
    roots:
    - jstests/core/**/*.js
    exclude_files:
    # Tests that won't work with an injected 'majority' readConcern
    # and/or an injected 'majority' writeConcern. Where a function is
    # listed the reason is we don't have a reliable solution to override
    # the write concern for that function.
    - jstests/core/batch_write_command*.js # these tests use various write concerns
    - jstests/core/bench_test*.js # benchRun() used for writes
    - jstests/core/capped_update.js # uses godinsert and can't run under replication.
    - jstests/core/crud_api.js # has specific w:0 tests
    - jstests/core/error2.js # db.eval() used
    - jstests/core/eval0.js # db.eval() used
    - jstests/core/eval1.js # db.eval() used
    - jstests/core/eval3.js # db.eval() used
    - jstests/core/eval4.js # db.eval() used
    - jstests/core/eval5.js # db.eval() used
    - jstests/core/eval6.js # db.eval() used
    - jstests/core/eval7.js # db.eval() used
    - jstests/core/eval9.js # db.eval() used
    - jstests/core/evala.js # db.eval() used
    - jstests/core/evalb.js # db.eval() used
    - jstests/core/evalc.js # db.eval() used
    - jstests/core/evald.js # db.eval() used
    - jstests/core/evale.js # db.eval() used
    - jstests/core/evalg.js # db.eval() used
    - jstests/core/eval_mr.js # db.eval() used
    - jstests/core/eval_nolock.js # db.eval() used
    - jstests/core/geo_s2cursorlimitskip.js # drops system.profile collection and counts ops.
    - jstests/core/js3.js # db.dbEval() used
    - jstests/core/js7.js # db.eval() used
    - jstests/core/js9.js # db.eval() used
    - jstests/core/mr_merge.js # mr temp tables aren't replicated
    - jstests/core/mr_merge2.js # mr temp tables aren't replicated
    - jstests/core/mr_outreduce.js # mr temp tables aren't replicated
    - jstests/core/mr_outreduce2.js # mr temp tables aren't replicated
    - jstests/core/opcounters_active.js  # off by n problem with opcounters
    - jstests/core/opcounters_write_cmd.js # off by n problem with opcounters
    - jstests/core/profile_agg.js # system.profile not replicated
    - jstests/core/profile_count.js # system.profile not replicated
    - jstests/core/profile_delete.js # system.profile not replicated
    - jstests/core/profile_distinct.js # system.profile not replicated
    - jstests/core/profile_find.js # system.profile not replicated
    - jstests/core/profile_findandmodify.js # system.profile not replicated
    - jstests/core/profile_geonear.js # system.profile not replicated
    - jstests/core/profile_getmore.js # system.profile not replicated
    - jstests/core/profile_group.js # system.profile not replicated
    - jstests/core/profile_insert.js # system.profile not replicated
    - jstests/core/profile_mapreduce.js # system.profile not replicated
    - jstests/core/profile_update.js # system.profile not replicated
    - jstests/core/profile1.js # system.profile not replicated
    - jstests/core/profile2.js # system.profile not replicated
    - jstests/core/profile3.js # system.profile not replicated
    - jstests/core/read_after_optime.js # verifies read after optime fails on standalone
    - jstests/core/remove8.js # db.eval() used
    - jstests/core/rename4.js # db.eval() used
    - jstests/core/shell1.js # tests setSlaveOk() variations on standalone mongod
    - jstests/core/shellkillop.js # db.eval() used
    - jstests/core/shell_writeconcern.js # checks write concern shell helpers
    - jstests/core/storefunc.js # db.eval() used
    - jstests/core/write_result.js # Tests invalid writeConcern, we shouldn't override.
    # Tests that need triaging & remediation | blacklist decision
    # Comments list possible problem point under review.
    - jstests/core/capped6.js # Uses captrunc test command.
    - jstests/core/convert_to_capped_nonexistant.js # Uses convertToCapped and captrunc command.
    - jstests/core/stages_delete.js # Uses stageDebug command for deletes.

executor:
  js_test:
    config:
      shell_options:
        eval: "var testingReplication = true; load('jstests/libs/override_methods/set_majority_read_and_write_concerns.js');"
        readMode: commands
    hooks:
    - class: ValidateCollections
    - class: CheckReplOplogs
    - class: CheckReplDBHash
    - class: CleanEveryN
      n: 20
    fixture:
      class: ReplicaSetFixture
      mongod_options:
        set_parameters:
          enableTestCommands: 1
          numInitialSyncAttempts: 1
        enableMajorityReadConcern: ''
      num_nodes: 2
      # Needs to be set for any ephemeral or no-journaling storage engine
      write_concern_majority_journal_default: false