0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-28 07:59:02 +01:00
mongodb/buildscripts/resmokeconfig/suites/failpoints_auth.yml
David Storch df2a33f997 SERVER-20067 SERVER-19572 set readMode in shell based on wire version
"compatibility" readMode now causes the shell to detect whether or not
to use find/getMore commands based on wire version. "commands" mode
forces use of the find/getMore commands, and "legacy" mode forces uses
of legacy OP_QUERY/OP_GET_MORE reads.

Also configures tests to force use of "commands" or "legacy" mode as
appropriate.
2015-09-30 13:25:15 -04:00

27 lines
674 B
YAML

# Section that is ignored by resmoke.py.
config_variables:
- &keyFile jstests/libs/authTestsKey
- &keyFileData Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly
selector:
js_test:
roots:
- jstests/fail_point/*.js
exclude_files:
# Skip any tests that run with auth explicitly.
- jstests/fail_point/*[aA]uth*.js
# Failpoint tests start their own mongod's.
executor:
js_test:
config:
shell_options:
global_vars:
TestData:
auth: true
authMechanism: SCRAM-SHA-1
keyFile: *keyFile
keyFileData: *keyFileData
nodb: ''
readMode: commands