summaryrefslogtreecommitdiff
path: root/buildscripts/resmokeconfig/suites/sharding_auth.yml
blob: c887cbe2e7db99e6a7d210608c495fcc5385e82c (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
# Section that is ignored by resmoke.py.
config_variables:
- &keyFile jstests/libs/authTestsKey
- &keyFileData Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly

test_kind: js_test

selector:
  roots:
  - jstests/sharding/*.js
  - jstests/sharding/change_streams/*.js
  - jstests/sharding/query/*.js
  exclude_files:
  # Skip any tests that run with auth explicitly.
  - jstests/sharding/*[aA]uth*.js
  - jstests/sharding/query/*[aA]uth*.js
  - jstests/sharding/change_streams/*[aA]uth*.js

  - jstests/sharding/advance_cluster_time_action_type.js
  - jstests/sharding/query/aggregation_currentop.js
  - jstests/sharding/internal_transactions_internal_client_restrictions.js
  - jstests/sharding/kill_sessions.js
  # Skip these additional tests when running with auth enabled.
  - jstests/sharding/parallel.js
  # Skip the testcases that do not have auth bypass when running ops in parallel.
  - jstests/sharding/migration_ignore_interrupts_1.js                 # SERVER-21713
  - jstests/sharding/migration_ignore_interrupts_2.js                 # SERVER-21713
  - jstests/sharding/migration_move_chunk_after_receive.js            # SERVER-21713
  - jstests/sharding/migration_server_status.js                       # SERVER-21713
  - jstests/sharding/migration_sets_fromMigrate_flag.js               # SERVER-21713
  - jstests/sharding/migration_with_source_ops.js                     # SERVER-21713
  - jstests/sharding/movechunk_interrupt_at_primary_stepdown.js       # SERVER-21713
  - jstests/sharding/movechunk_parallel.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

executor:
  archive:
    tests:
      - jstests/sharding/*reshard*.js
  config:
    shell_options:
      global_vars:
        TestData:
          auth: true
          authMechanism: SCRAM-SHA-256
          keyFile: *keyFile
          keyFileData: *keyFileData
          roleGraphInvalidationIsFatal: true
      nodb: ''