diff options
Diffstat (limited to 'buildscripts/templates/generate_resmoke_suites/sharding_auth_audit.yml.j2')
-rw-r--r-- | buildscripts/templates/generate_resmoke_suites/sharding_auth_audit.yml.j2 | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/buildscripts/templates/generate_resmoke_suites/sharding_auth_audit.yml.j2 b/buildscripts/templates/generate_resmoke_suites/sharding_auth_audit.yml.j2 new file mode 100644 index 00000000000..8c7a770fd5e --- /dev/null +++ b/buildscripts/templates/generate_resmoke_suites/sharding_auth_audit.yml.j2 @@ -0,0 +1,73 @@ +# This file was generated by buildscripts/generate_resmoke_suites.py and manual edits should also be +# made to sharding_auth_audit.yml in order to ensure running the full test +# suite locally matches the behavior of running parts of the test suite in Evergreen. It was +# generated against commit range: +# {{ start_commit }} - {{ end_commit }} +# with the following options: +# {{ options }} + +# Section that is ignored by resmoke.py. +config_variables: +- &keyFile jstests/libs/authTestsKey +- &keyFileData Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly + +test_kind: js_test + +selector: +{% if variants is defined %} + # The following tests take approximately +{% for variant in variants %} + # {{ variant.runtime }} minutes to run on {{ variant.name }} +{% endfor %} +{% endif %} + roots: +{% for test in test_names %} + - {{ test }} +{% endfor %} +{% if is_misc is defined %} + - jstests/sharding/*.js + exclude_files: + # Skip any tests that run with auth explicitly. + - jstests/sharding/*[aA]uth*.js + - jstests/sharding/advance_cluster_time_action_type.js + - jstests/sharding/aggregation_currentop.js # SERVER-19318 + - jstests/sharding/kill_sessions.js + # Skip these additional tests when running with auth enabled. + - jstests/sharding/parallel.js + # Skip these tests that run with enableTestCommands off. + - jstests/sharding/shard_config_db_collections.js + # Skip the testcases that do not have auth bypass when running ops in parallel. + - jstests/sharding/cleanup_orphaned_cmd_during_movechunk.js # SERVER-21713 + - jstests/sharding/cleanup_orphaned_cmd_during_movechunk_hashed.js # SERVER-21713 + - jstests/sharding/migration_with_source_ops.js # SERVER-21713 + - jstests/sharding/migration_sets_fromMigrate_flag.js # SERVER-21713 + - jstests/sharding/migration_ignore_interrupts_1.js # SERVER-21713 + - jstests/sharding/migration_ignore_interrupts_2.js # SERVER-21713 + - jstests/sharding/migration_ignore_interrupts_3.js # SERVER-21713 + - jstests/sharding/migration_ignore_interrupts_4.js # SERVER-21713 + - jstests/sharding/movechunk_interrupt_at_primary_stepdown.js # SERVER-21713 + - jstests/sharding/movechunk_parallel.js # SERVER-21713 + - jstests/sharding/migration_server_status.js # SERVER-21713 + - jstests/sharding/migration_move_chunk_after_receive.js # SERVER-21713 + - jstests/sharding/migration_critical_section_concurrency.js # SERVER-21713 + # Runs with auth enabled. + - jstests/sharding/mongod_returns_no_cluster_time_without_keys.js +{% if excluded_tests is defined %} +{% for test in excluded_tests %} + - {{ test }} +{% endfor %} +{% endif %} +{% endif %} + +executor: + config: + shell_options: + global_vars: + TestData: + auditDestination: 'console' + auth: true + authMechanism: SCRAM-SHA-1 + keyFile: *keyFile + keyFileData: *keyFileData + nodb: '' + readMode: commands |