summaryrefslogtreecommitdiff
path: root/buildscripts/templates/generate_resmoke_suites/sharding_auth_audit.yml.j2
blob: 0a46cb4585f3a21f55a5ae5c62c98550cb43aa49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# 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/copydb_from_mongos.js  # SERVER-13080
  - 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