summaryrefslogtreecommitdiff
path: root/jstests/auth/auth1.js
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2015-03-22 12:08:21 -0400
committerSpencer T Brody <spencer@mongodb.com>2015-04-06 18:19:21 -0400
commit6ccb82c987a47995fd7d8019d7fd4d1e557478b4 (patch)
tree2542816a69e9faaaff840754b42f0229dc905ccd /jstests/auth/auth1.js
parent7baac52f05a3e0cbdb7168e51836f507eda99dff (diff)
downloadmongo-6ccb82c987a47995fd7d8019d7fd4d1e557478b4.tar.gz
SERVER-17450 Standardize on a single way to start mongod in tests
Diffstat (limited to 'jstests/auth/auth1.js')
-rw-r--r--jstests/auth/auth1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/auth1.js b/jstests/auth/auth1.js
index 70d9a6438b4..2ee65c68ca7 100644
--- a/jstests/auth/auth1.js
+++ b/jstests/auth/auth1.js
@@ -7,7 +7,7 @@ function setupTest() {
port = allocatePorts( 1 )[ 0 ];
baseName = "jstests_auth_auth1";
- m = startMongod( "--auth", "--port", port, "--dbpath", MongoRunner.dataPath + baseName, "--nohttpinterface", "--bind_ip", "127.0.0.1" );
+ m = MongoRunner.runMongod({auth: "", port: port, nohttpinterface: "", bind_ip: "127.0.0.1"});
return m;
}