summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/core_minimum_batch_size.yml
blob: a78e544de77ecd5fb37a617a086b07bb144044ff (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
test_kind: js_test

selector:
  roots:
  - jstests/core/**/*.js
  exclude_files:
  # Transactions are not supported on MongoDB standalone nodes.
  - jstests/core/txns/**/*.js
  # The following tests fail when specifying a minimal batchSize:
  - jstests/core/find9.js # Reduction of objsLeftInBatch.
  - jstests/core/finda.js # Reduction of objsLeftInBatch.
  - jstests/core/profile1.js # Extra operation for a getmore.
  - jstests/core/profile2.js # Extra operation for a getmore.
  - jstests/core/sortk.js # Negative limit value changes result to batchSize.
  - jstests/core/tailable_skip_limit.js # Negative limit value changes result to batchSize.

executor:
  archive:
    hooks:
      - ValidateCollections
  config:
    shell_options:
      global_vars:
        TestData:
          batchSize: 2 # Changes the default batchSize of db.coll.find() from 0 to 2.
      eval: load("jstests/libs/override_methods/find_batch_size.js");
  hooks:
  - class: ValidateCollections
    shell_options:
      global_vars:
        TestData:
          skipValidationOnNamespaceNotFound: false
  - class: CleanEveryN
    n: 20
  fixture:
    class: MongoDFixture
    mongod_options:
      set_parameters:
        enableTestCommands: 1