# 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