summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/read_concern_linearizable_passthrough.yml
blob: b94fe6e00a63a6caa92c4331c3898ddc3a0fb937 (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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
test_kind: js_test

selector:
  roots:
  - jstests/core/**/*.js
  exclude_files:
  # Tests that won't work with an injected 'linearizable' 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/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/fsync.js # Uses fsyncLock() which prevents a linearizable read from writing
                          # an entry to the oplog.
  - 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/max_time_ms.js # SERVER-27665 maxTimeNeverTimeOut failPoint.
  - 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/profile1.js # system.profile not replicated
  - jstests/core/profile2.js # system.profile not replicated
  - jstests/core/profile3.js # system.profile not replicated
  - 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_list_collections.js # system.profile not replicated
  - jstests/core/profile_list_indexes.js # system.profile not replicated
  - jstests/core/profile_mapreduce.js # system.profile not replicated
  - jstests/core/profile_parallel_collection_scan.js # system.profile not replicated
  - jstests/core/profile_repair_cursor.js # system.profile not replicated
  - jstests/core/profile_sampling.js # system.profile not replicated
  - jstests/core/profile_update.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/stages_delete.js # Uses stageDebug command for deletes.
  - jstests/core/list_all_local_cursors.js # collectionless aggregation stage
  - jstests/core/list_all_local_sessions.js # collectionless aggregation stage
  - jstests/core/list_local_sessions.js # collectionless aggregation stage

executor:
  config:
    shell_options:
      global_vars:
        TestData:
          defaultReadConcernLevel: linearizable
      eval: "var testingReplication = true; load('jstests/libs/override_methods/set_read_and_write_concerns.js');"
      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: CheckPrimary
  - class: CheckReplOplogs
  - class: CheckReplDBHash
  - class: ValidateCollections
  - class: CleanEveryN
    n: 20
  fixture:
    class: ReplicaSetFixture
    mongod_options:
      oplogSize: 511
      set_parameters:
        enableTestCommands: 1
        numInitialSyncAttempts: 1
    num_nodes: 2
    write_concern_majority_journal_default: false