From 27994ea491f0a05ed414ae24ec1a371791b7ea15 Mon Sep 17 00:00:00 2001 From: Charlie Swanson Date: Thu, 16 Jun 2022 21:44:42 +0000 Subject: SERVER-64255 Column Store Index aggregation passthrough suite --- .../aggregation_column_store_index_passthrough.yml | 41 ++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 buildscripts/resmokeconfig/suites/aggregation_column_store_index_passthrough.yml (limited to 'buildscripts/resmokeconfig/suites/aggregation_column_store_index_passthrough.yml') diff --git a/buildscripts/resmokeconfig/suites/aggregation_column_store_index_passthrough.yml b/buildscripts/resmokeconfig/suites/aggregation_column_store_index_passthrough.yml new file mode 100644 index 00000000000..36773338d80 --- /dev/null +++ b/buildscripts/resmokeconfig/suites/aggregation_column_store_index_passthrough.yml @@ -0,0 +1,41 @@ +# This test suite re-uses the tests in the aggregation suite but will automatically create a column +# store index on each collection using the failpoint defined in the test fixture's parameters below. +# For more details and rationale for this approach, see the failpoint's definition. +test_kind: js_test + +selector: + roots: + - jstests/aggregation/**/*.js + exclude_files: + - jstests/aggregation/extras/*.js + - jstests/aggregation/data/*.js + # TODO SERVER-67264 there is a bug in projecting "a" and matching on "a.b". + - jstests/aggregation/bugs/match.js + + exclude_with_any_tags: + - assumes_no_implicit_index_creation + # Column Store Indexes are known to mess up projection field order and it is fundamental to the + # design so we accept these tests will fail. + - tests_projection_field_order + +executor: + archive: + hooks: + - ValidateCollections + config: + shell_options: + # This override method helps some tests remain applicable in the passthrough by hiding the + # column store indexes from 'listIndexes' output, so tests can still see only a list of + # indexes that the test itself created. + eval: load("jstests/libs/override_methods/hide_column_store_indexes_from_get_indexes.js") + hooks: + - class: ValidateCollections + - class: CleanEveryN + n: 20 + fixture: + class: MongoDFixture + mongod_options: + set_parameters: + enableTestCommands: 1 + failpoint.createColumnIndexOnAllCollections: + mode: alwaysOn -- cgit v1.2.1