From 52d2b4cd1c418aaa616fa73c79ad1f69eae80551 Mon Sep 17 00:00:00 2001 From: Spencer Jackson Date: Tue, 20 Sep 2016 16:59:23 -0400 Subject: SERVER-6388: Make bench_test*.js use auth in jscore_auth --- jstests/noPassthroughWithMongod/bench_test_crud_commands.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jstests/noPassthroughWithMongod/bench_test_crud_commands.js') 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); } -- cgit v1.2.1