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

selector:
  roots:
  - jstests/query_golden/**/*.js
  exclude_files:
  - jstests/query_golden/libs/**
executor:
  archive:
    hooks:
      - ValidateCollections
  config:
    shell_options:
      crashOnInvalidBSONError: ""
      objcheck: ""
      eval: |
        // Keep in sync with query_golden_classic.yml.
        load("jstests/libs/override_methods/detect_spawning_own_mongod.js");
        load("jstests/libs/golden_test.js");
        _openGoldenData(jsTestName(), {relativePath: "jstests/query_golden/expected_output"});
  hooks:
  - class: ValidateCollections
    shell_options:
      global_vars:
        TestData:
          skipValidationOnNamespaceNotFound: false
  - class: CleanEveryN
    n: 20
  fixture:
    class: MongoDFixture
    mongod_options:
      # Keep in sync with cqf.yml.
      set_parameters:
        enableTestCommands: 1
        featureFlagCommonQueryFramework: true
        internalQueryFrameworkControl: "forceBonsai"