summaryrefslogtreecommitdiff
path: root/jstests/core/bench_test1.js
diff options
context:
space:
mode:
authorSpencer Jackson <spencer.jackson@mongodb.com>2016-09-20 16:59:23 -0400
committerSpencer Jackson <spencer.jackson@mongodb.com>2016-09-22 14:19:28 -0400
commit52d2b4cd1c418aaa616fa73c79ad1f69eae80551 (patch)
treea1cfae9cf63bbd6ed3eea59681a2b7705ee02469 /jstests/core/bench_test1.js
parent97c2ef18995abf457888d5b40bf24fa0feb6d7a9 (diff)
downloadmongo-52d2b4cd1c418aaa616fa73c79ad1f69eae80551.tar.gz
SERVER-6388: Make bench_test*.js use auth in jscore_auth
Diffstat (limited to 'jstests/core/bench_test1.js')
-rw-r--r--jstests/core/bench_test1.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/bench_test1.js b/jstests/core/bench_test1.js
index 2242cf229ec..706bbebfb57 100644
--- a/jstests/core/bench_test1.js
+++ b/jstests/core/bench_test1.js
@@ -21,8 +21,8 @@ benchArgs = {
if (jsTest.options().auth) {
benchArgs['db'] = 'admin';
- benchArgs['username'] = jsTest.options().adminUser;
- benchArgs['password'] = jsTest.options().adminPassword;
+ benchArgs['username'] = jsTest.options().authUser;
+ benchArgs['password'] = jsTest.options().authPassword;
}
res = benchRun(benchArgs);