blob: c047bce1f308e48de0ab5f43bf28bfc8b29796f3 (
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
|
# Section that is ignored by resmoke.py.
config_variables:
- &keyFile jstests/libs/authTestsKey
- &keyFileData Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly
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:
config:
shell_options:
global_vars:
TestData:
auth: true
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
roleGraphInvalidationIsFatal: true
eval: jsTest.authenticate(db.getMongo())
authenticationDatabase: local
authenticationMechanism: SCRAM-SHA-1
password: *keyFileData
username: __system
hooks:
- class: CleanEveryN
n: 20
fixture:
class: MongoDFixture
mongod_options:
auth: ''
keyFile: *keyFile
set_parameters:
enableTestCommands: 1
enableLocalhostAuthBypass: false
|