summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/aggregation_repeat_queries.yml
blob: cd2b16fbfe5ff4982617e8d5e6fab754a793a8d6 (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
# This test suite runs the tests in aggregation with 'rerun_queries.js' override. By rerunning
# queries multiple times, this tests that any caches involved in query processing -- in particular
# the plan cache -- do not affect correctness.

test_kind: js_test

selector:
  roots:
  - jstests/aggregation/**/*.js
  exclude_files:
  - jstests/aggregation/extras/*.js
  - jstests/aggregation/data/*.js
  exclude_with_any_tags:
  # Used to tag tests which cannot run in the 'core_repeat_queries' or 'aggregation_repeat_queries' suites.
  - does_not_support_repeated_reads
  # By repeating queries when the profiler is enabled, we end up writing additional profiler entries.
  # Most tests using profiling are not prepared for these additional profiler entries.
  - requires_profiling

executor:
  archive:
    hooks:
      - ValidateCollections
  config:
    shell_options:
      eval: >-
        load("jstests/libs/override_methods/detect_spawning_own_mongod.js");
        load("jstests/libs/override_methods/rerun_queries.js");
  hooks:
  - class: ValidateCollections
  - class: CleanEveryN
    n: 20
  fixture:
    class: MongoDFixture
    mongod_options:
      set_parameters:
        enableTestCommands: 1