summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/replica_sets_initsync_jscore_passthrough.yml
blob: c68ae4dcb48e3f11a1639a4e0f939a3b44dcbac3 (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
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
  # Tests that query the system.profile collection cannot run in this suite since an initial sync
  # may insert unexpected operations into the profile collection.
  - jstests/core/profile_list_collections.js
  - jstests/core/profile_list_indexes.js
  - jstests/core/recursion.js
  - jstests/core/system_profile.js
  # operation_latency_histogram.js and geo_s2cursorlimitskip.js do not expect concurrent reads
  # against their test collections.
  - jstests/core/operation_latency_histogram.js
  - jstests/core/geo_s2cursorlimitskip.js
  # Having duplicate namespaces is not supported and will cause initial sync to fail.
  - jstests/core/views/duplicate_ns.js
  # These tests run getLatestProfilerEntry(). The downstream syncing node affects the profiler.
  - jstests/core/profile_agg.js
  - jstests/core/profile_count.js
  - jstests/core/profile_delete.js
  - jstests/core/profile_distinct.js
  - jstests/core/profile_find.js
  - jstests/core/profile_findandmodify.js
  - jstests/core/profile_getmore.js
  - jstests/core/profile_insert.js
  - jstests/core/profile_mapreduce.js
  - jstests/core/profile_sampling.js
  - jstests/core/profile_update.js
  - jstests/core/txns/transactions_profiling.js
  # The downstream syncing node affects the top output.
  - jstests/core/top.js

run_hook_interval: &run_hook_interval 20
executor:
  archive:
    hooks:
      - BackgroundInitialSync
  config:
    shell_options:
      eval: "testingReplication = true;"
      readMode: commands
  hooks:
  - class: BackgroundInitialSync
    n: *run_hook_interval
  - class: CleanEveryN
    n: *run_hook_interval
  fixture:
    class: ReplicaSetFixture
    mongod_options:
      set_parameters:
        enableTestCommands: 1
        collectionClonerBatchSize: 10
        initialSyncOplogFetcherBatchSize: 10
        logComponentVerbosity:
          storage: 2
    num_nodes: 2
    start_initial_sync_node: True