summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/telemetry_passthrough.yml
blob: 1aa2a490a5f8e94ae3a688e7468bb08e26c41148 (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
test_kind: js_test
description: |
  This suite enables the collection of telemetry metrics on a mongod server, then runs the tests in
  core and aggregation as normal. This should cause each query or aggregation to compute a query
  shape and telemetry key, and record in-memory some metrics like execution time and number of
  scanned documents. It doesn't assert anything about the collected telemetry, it is just meant to
  make sure nothing is going seriously awry (e.g. crashing).

selector:
  roots:
  - jstests/aggregation/**/*.js
  - jstests/core/**/*.js
  exclude_files:
  # Transactions are not supported on MongoDB standalone nodes, so we do not run these tests.
  - jstests/core/txns/**/*.js

executor:
  archive:
    hooks:
      - ValidateCollections
  hooks:
  - class: ValidateCollections
  - class: CleanEveryN
    n: 20
  fixture:
    class: MongoDFixture
    mongod_options:
      set_parameters:
        enableTestCommands: 1
        internalQueryConfigureTelemetrySamplingRate: -1