diff options
author | Eric Cox <eric.cox@mongodb.com> | 2022-06-24 13:52:42 +0000 |
---|---|---|
committer | Eric Cox <eric.cox@mongodb.com> | 2022-06-24 13:52:42 +0000 |
commit | e41eb06388b603a2575e826d87051eebd38d52f5 (patch) | |
tree | 2fd04f7aa3047bacb6b5f81ea802ae51ecd7b844 /buildscripts/resmokeconfig/suites/aggregation_column_store_index_passthrough.yml | |
parent | e27fb371450c1aecbf3045c13c9a5257560ee615 (diff) | |
parent | d37641e0439f48745a656272a09eb121636ae7a2 (diff) | |
download | mongo-e41eb06388b603a2575e826d87051eebd38d52f5.tar.gz |
Merge branch 'master' into eric/id-hack-ix-scan-refactor
Diffstat (limited to 'buildscripts/resmokeconfig/suites/aggregation_column_store_index_passthrough.yml')
-rw-r--r-- | buildscripts/resmokeconfig/suites/aggregation_column_store_index_passthrough.yml | 41 |
1 files changed, 41 insertions, 0 deletions
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 |