0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-29 00:32:18 +01:00
mongodb/buildscripts/resmokeconfig/suites/gle_auth.yml
Max Hirschhorn 424314f65e SERVER-1424 Rewrite smoke.py.
Split out the passthrough tests into separate suites. The MongoDB
deployment is started up by resmoke.py so that we can record the
success/failure of each individual test in MCI.

Added support for parallel execution of tests by dispatching to
multiple MongoDB deployments.

Added support for grouping different kinds of tests (e.g. C++ unit
tests, dbtests, and jstests) so that they can be run together. This
allows for customizability in specifying what tests to execute when
changes are made to a particular part of the code.
2015-05-08 14:49:42 -04:00

44 lines
1.2 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
# Skip the passthrough tests because those are run separately.
- jstests/gle/0_gle_basics_passthrough.js
- jstests/gle/1_sharding_gle_basics_passthrough.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
hooks:
- class: CleanEveryN
n: 20
fixture:
class: MongoDFixture
mongod_options:
auth: ''
keyFile: *keyFile
nopreallocj: ''
set_parameters:
enableTestCommands: 1
enableLocalhostAuthBypass: false