mirror of
https://github.com/mongodb/mongo.git
synced 2024-12-01 01:21:03 +01:00
760a7c4776
They are no longer executed and are unmaintained.
41 lines
1.0 KiB
YAML
41 lines
1.0 KiB
YAML
# Section that is ignored by resmoke.py.
|
|
config_variables:
|
|
- &keyFile jstests/libs/authTestsKey
|
|
- &keyFileData Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly
|
|
|
|
selector:
|
|
js_test:
|
|
roots:
|
|
- jstests/gle/*.js
|
|
exclude_files:
|
|
# Skip any tests that run with auth explicitly.
|
|
- jstests/gle/*[aA]uth*.js
|
|
|
|
executor:
|
|
js_test:
|
|
config:
|
|
shell_options:
|
|
global_vars:
|
|
TestData:
|
|
auth: true
|
|
authMechanism: SCRAM-SHA-1
|
|
keyFile: *keyFile
|
|
keyFileData: *keyFileData
|
|
eval: jsTest.authenticate(db.getMongo())
|
|
authenticationDatabase: local
|
|
authenticationMechanism: SCRAM-SHA-1
|
|
password: *keyFileData
|
|
username: __system
|
|
readMode: commands
|
|
hooks:
|
|
- class: CleanEveryN
|
|
n: 20
|
|
fixture:
|
|
class: MongoDFixture
|
|
mongod_options:
|
|
auth: ''
|
|
keyFile: *keyFile
|
|
set_parameters:
|
|
enableTestCommands: 1
|
|
enableLocalhostAuthBypass: false
|