diff options
Diffstat (limited to 'buildscripts/resmokeconfig/suites/query_stats_aggregation_passthrough.yml')
| -rw-r--r-- | buildscripts/resmokeconfig/suites/query_stats_aggregation_passthrough.yml | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/query_stats_aggregation_passthrough.yml b/buildscripts/resmokeconfig/suites/query_stats_aggregation_passthrough.yml new file mode 100644 index 00000000000..0a6999fc887 --- /dev/null +++ b/buildscripts/resmokeconfig/suites/query_stats_aggregation_passthrough.yml @@ -0,0 +1,38 @@ +test_kind: js_test +description: | + This suite enables the collection of query stats metrics on a mongod server, then runs the tests in + aggregation as normal. This should cause each aggregation to compute a query + shape and query stats key, and record in-memory some metrics like execution time and number of + scanned documents. Then it uses the 'RunQueryStats' hook to collect the query stats at the end of + each test, once with HMAC application enabled and once without. It doesn't assert anything about + the collected query stats, it is just meant to make sure nothing is going seriously awry (e.g. + crashing). + +selector: + roots: + - jstests/aggregation/**/*.js + exclude_files: + # TODO SERVER-92403 Re-enable this test. + - jstests/aggregation/sources/setWindowFields/n_accumulators.js + exclude_with_any_tags: + # Running $queryStats will increment these counters which can screw up some test assertions. + - inspects_command_opcounters + +executor: + archive: + hooks: + - ValidateCollections + hooks: + # Be sure to run the hooks which depend on the fixture being alive before the CleanEveryN hook. + # That way the fixture restart can't cause any trouble for the other hooks. + - class: RunQueryStats + - class: ValidateCollections + - class: CleanEveryN + n: 20 + fixture: + class: MongoDFixture + mongod_options: + set_parameters: + enableTestCommands: 1 + internalQueryStatsRateLimit: -1 + internalQueryStatsErrorsAreCommandFatal: true |
