Files
mongo/buildscripts/resmokeconfig/suites/aggregation_auth.yml
Trevor Guidry a16a5b2de7 SERVER-94991 Make ValidateCollections faster (#28537)
GitOrigin-RevId: 031f2558c4f030413a527086bb7ae7dacde07dd7
2024-10-28 15:44:04 +00:00

45 lines
1.1 KiB
YAML

# Section that is ignored by resmoke.py.
config_variables:
- &keyFile jstests/libs/authTestsKey
- &keyFileData Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly
- &authOptions
authenticationDatabase: local
authenticationMechanism: SCRAM-SHA-256
password: *keyFileData
username: __system
test_kind: js_test
selector:
roots:
- jstests/aggregation/**/*.js
exclude_files:
- jstests/aggregation/extras/*.js
- jstests/aggregation/data/*.js
executor:
config:
shell_options:
global_vars:
TestData:
auth: true
authMechanism: SCRAM-SHA-256
keyFile: *keyFile
keyFileData: *keyFileData
roleGraphInvalidationIsFatal: true
eval: jsTest.authenticate(db.getMongo())
<<: *authOptions
hooks:
- class: CleanEveryN
shell_options:
<<: *authOptions
n: 20
fixture:
class: MongoDFixture
mongod_options:
auth: ""
keyFile: *keyFile
set_parameters:
enableTestCommands: 1
enableLocalhostAuthBypass: false