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

selector:
  js_test:
    roots:
    - jstests/sharding/*.js
    - jstests/sharding/replset_config/*.js
    - jstests/sharding/sync_cluster_config/*.js
    exclude_files:
    # Skip any tests that run with auth explicitly.
    - jstests/sharding/*[aA]uth*.js
    - jstests/sharding/replset_config/*[aA]uth*.js
    - jstests/sharding/sync_cluster_config/*[aA]uth*.js
    # Skip these additional tests when running with auth enabled.
    - jstests/sharding/copydb_from_mongos.js  # SERVER-13080
    - jstests/sharding/parallel.js
    - jstests/sharding/sync_cluster_config/sync[36].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_deletes.js                 # SERVER-21713
    - jstests/sharding/migration_sets_fromMigrate_flag.js               # SERVER-21713
    - jstests/sharding/donor_shard_abort_and_start_new_migration.js     # SERVER-21713

executor:
  js_test:
    config:
      shell_options:
        global_vars:
          TestData:
            auditDestination: 'console'
            auth: true
            authMechanism: SCRAM-SHA-1
            keyFile: *keyFile
            keyFileData: *keyFileData
        nodb: ''
        readMode: commands