diff options
author | Sara Golemon <sara.golemon@mongodb.com> | 2019-04-09 16:54:44 +0000 |
---|---|---|
committer | Sara Golemon <sara.golemon@mongodb.com> | 2019-04-10 15:06:26 +0000 |
commit | 1fe9d1da7c9b6fe2fd0522dc32103c4483e827d4 (patch) | |
tree | 89afbf5d18a1cd0ad8cfe1b464f7a48a086a0ce4 /buildscripts/resmokeconfig | |
parent | d08a3fd687d5a539f392eb0743f9643bed15e07b (diff) | |
download | mongo-1fe9d1da7c9b6fe2fd0522dc32103c4483e827d4.tar.gz |
SERVER-40199 Create GCM passthrough test suites
Diffstat (limited to 'buildscripts/resmokeconfig')
4 files changed, 109 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/aggregation_ese_gcm.yml b/buildscripts/resmokeconfig/suites/aggregation_ese_gcm.yml new file mode 100644 index 00000000000..a9ddb2b322d --- /dev/null +++ b/buildscripts/resmokeconfig/suites/aggregation_ese_gcm.yml @@ -0,0 +1,34 @@ +# Section that is ignored by resmoke.py. +config_variables: +- &keyFile src/mongo/db/modules/enterprise/jstests/encryptdb/libs/ekf2 + +test_kind: js_test + +selector: + roots: + - jstests/aggregation/**/*.js + exclude_files: + - jstests/aggregation/extras/*.js + - jstests/aggregation/data/*.js + # Skip any tests that run with auth explicitly. + - jstests/aggregation/*[aA]uth*.js + +executor: + archive: + hooks: + - ValidateCollections + config: + shell_options: + readMode: commands + hooks: + - class: ValidateCollections + - class: CleanEveryN + n: 20 + fixture: + class: MongoDFixture + mongod_options: + enableEncryption: '' + encryptionKeyFile: *keyFile + encryptionCipherMode: 'AES256-GCM' + set_parameters: + enableTestCommands: 1 diff --git a/buildscripts/resmokeconfig/suites/core_ese_gcm.yml b/buildscripts/resmokeconfig/suites/core_ese_gcm.yml new file mode 100644 index 00000000000..964612c8ae6 --- /dev/null +++ b/buildscripts/resmokeconfig/suites/core_ese_gcm.yml @@ -0,0 +1,35 @@ +# Section that is ignored by resmoke.py. +config_variables: +- &keyFile src/mongo/db/modules/enterprise/jstests/encryptdb/libs/ekf2 + +test_kind: js_test + +selector: + roots: + - jstests/core/**/*.js + exclude_files: + # Transactions are not supported on MongoDB standalone nodes. + - jstests/core/txns/**/*.js +executor: + archive: + hooks: + - ValidateCollections + config: + shell_options: + readMode: commands + hooks: + - class: ValidateCollections + shell_options: + global_vars: + TestData: + skipValidationOnNamespaceNotFound: false + - class: CleanEveryN + n: 20 + fixture: + class: MongoDFixture + mongod_options: + enableEncryption: '' + encryptionKeyFile: *keyFile + encryptionCipherMode: 'AES256-GCM' + set_parameters: + enableTestCommands: 1 diff --git a/buildscripts/resmokeconfig/suites/replica_sets_ese_gcm.yml b/buildscripts/resmokeconfig/suites/replica_sets_ese_gcm.yml new file mode 100644 index 00000000000..b44d14eb841 --- /dev/null +++ b/buildscripts/resmokeconfig/suites/replica_sets_ese_gcm.yml @@ -0,0 +1,20 @@ +# Section that is ignored by resmoke.py. +config_variables: +- &keyFile src/mongo/db/modules/enterprise/jstests/encryptdb/libs/ekf2 + +test_kind: js_test + +selector: + roots: + - jstests/replsets/*.js + +executor: + config: + shell_options: + nodb: '' + global_vars: + TestData: + enableEncryption: '' + encryptionKeyFile: *keyFile + encryptionCipherMode: 'AES256-GCM' + readMode: commands diff --git a/buildscripts/resmokeconfig/suites/sharding_ese_gcm.yml b/buildscripts/resmokeconfig/suites/sharding_ese_gcm.yml new file mode 100644 index 00000000000..23e5a9b091d --- /dev/null +++ b/buildscripts/resmokeconfig/suites/sharding_ese_gcm.yml @@ -0,0 +1,20 @@ +# Section that is ignored by resmoke.py. +config_variables: +- &keyFile src/mongo/db/modules/enterprise/jstests/encryptdb/libs/ekf2 + +test_kind: js_test + +selector: + roots: + - jstests/sharding/*.js + +executor: + config: + shell_options: + nodb: '' + global_vars: + TestData: + enableEncryption: '' + encryptionKeyFile: *keyFile + encryptionCipherMode: 'AES256-GCM' + readMode: commands |