summaryrefslogtreecommitdiff
path: root/buildscripts
diff options
context:
space:
mode:
authorSpencer Jackson <spencer.jackson@mongodb.com>2016-12-07 16:11:57 -0500
committerSpencer Jackson <spencer.jackson@mongodb.com>2017-04-07 10:24:55 -0400
commitc53363894310c144aefd06ce323d348735789601 (patch)
treeae78a38fdb7496394a917cc839b92de3ab86e34b /buildscripts
parent2a5996b761a64787593192b6413bb774bea06da0 (diff)
downloadmongo-c53363894310c144aefd06ce323d348735789601.tar.gz
SERVER-26952: Cache SCRAM-SHA-1 ClientKey
(cherry picked from commit 47da0b53f9cd27aeec1d2822780784866269a47d)
Diffstat (limited to 'buildscripts')
-rw-r--r--buildscripts/resmokeconfig/suites/multiversion_auth.yml33
1 files changed, 33 insertions, 0 deletions
diff --git a/buildscripts/resmokeconfig/suites/multiversion_auth.yml b/buildscripts/resmokeconfig/suites/multiversion_auth.yml
new file mode 100644
index 00000000000..ea306aeb379
--- /dev/null
+++ b/buildscripts/resmokeconfig/suites/multiversion_auth.yml
@@ -0,0 +1,33 @@
+# Section that is ignored by resmoke.py.
+config_variables:
+- &keyFile jstests/libs/authTestsKey
+- &keyFileData Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly
+
+selector:
+ js_test:
+ roots:
+ - jstests/multiVersion/*.js
+ exclude_files:
+ # Multi storageEngine tests
+ - jstests/multiVersion/mixed_storage_version_replication.js
+ - jstests/multiVersion/transitioning_to_and_from_WT.js
+ # TODO: SERVER-21578
+ - jstests/multiVersion/balancer_multiVersion_detect.js
+
+# Multiversion tests start their own mongod's.
+executor:
+ js_test:
+ config:
+ shell_options:
+ eval: "load('jstests/libs/override_methods/multiversion_override_balancer_control.js');"
+ global_vars:
+ TestData:
+ auth: true
+ authMechanism: SCRAM-SHA-1
+ keyFile: *keyFile
+ keyFileData: *keyFileData
+ authenticationDatabase: local
+ authenticationMechanism: SCRAM-SHA-1
+ password: *keyFileData
+ username: __system
+ nodb: ''