diff options
author | Spencer Jackson <spencer.jackson@mongodb.com> | 2016-09-20 16:59:23 -0400 |
---|---|---|
committer | Spencer Jackson <spencer.jackson@mongodb.com> | 2016-09-22 14:19:28 -0400 |
commit | 52d2b4cd1c418aaa616fa73c79ad1f69eae80551 (patch) | |
tree | a1cfae9cf63bbd6ed3eea59681a2b7705ee02469 /jstests | |
parent | 97c2ef18995abf457888d5b40bf24fa0feb6d7a9 (diff) | |
download | mongo-52d2b4cd1c418aaa616fa73c79ad1f69eae80551.tar.gz |
SERVER-6388: Make bench_test*.js use auth in jscore_auth
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/core/bench_test1.js | 4 | ||||
-rw-r--r-- | jstests/core/bench_test2.js | 4 | ||||
-rw-r--r-- | jstests/core/bench_test3.js | 4 | ||||
-rw-r--r-- | jstests/noPassthroughWithMongod/bench_test_crud_commands.js | 4 |
4 files changed, 8 insertions, 8 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); diff --git a/jstests/core/bench_test2.js b/jstests/core/bench_test2.js index 072686348e4..a5918a5de1f 100644 --- a/jstests/core/bench_test2.js +++ b/jstests/core/bench_test2.js @@ -19,8 +19,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); diff --git a/jstests/core/bench_test3.js b/jstests/core/bench_test3.js index 24e230cc16d..2c18759d503 100644 --- a/jstests/core/bench_test3.js +++ b/jstests/core/bench_test3.js @@ -16,8 +16,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); diff --git a/jstests/noPassthroughWithMongod/bench_test_crud_commands.js b/jstests/noPassthroughWithMongod/bench_test_crud_commands.js index 938940615a5..f2f18c10ffc 100644 --- a/jstests/noPassthroughWithMongod/bench_test_crud_commands.js +++ b/jstests/noPassthroughWithMongod/bench_test_crud_commands.js @@ -23,8 +23,8 @@ var benchArgs = {ops: benchOps, parallel: 2, seconds: 1, host: db.getMongo().host}; 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; } return benchRun(benchArgs); } |