diff options
author | Spencer T Brody <spencer@10gen.com> | 2012-10-05 17:16:26 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2012-10-05 17:25:51 -0400 |
commit | 9f6d290ba2800658e2e74f207fdc992a7c0d3737 (patch) | |
tree | d40cf3ce6a4b82d15d529b073fc8c6d1753f36e6 /jstests | |
parent | f82aa2825f93d827f6493a3c58a44125506d48b9 (diff) | |
download | mongo-9f6d290ba2800658e2e74f207fdc992a7c0d3737.tar.gz |
SERVER-4237 Make disk/repair5.js use startMongodTest instead of startMongoProgram so running with auth works
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/disk/repair5.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/jstests/disk/repair5.js b/jstests/disk/repair5.js index 314739e330a..9214ad8d368 100644 --- a/jstests/disk/repair5.js +++ b/jstests/disk/repair5.js @@ -9,7 +9,11 @@ repairpath = dbpath + "repairDir/" resetDbpath( dbpath ); resetDbpath( repairpath ); -m = startMongoProgram( "mongod", "--port", port, "--dbpath", dbpath, "--repairpath", repairpath, "--nohttpinterface", "--bind_ip", "127.0.0.1" ); +m = startMongodTest(port, + baseName + "/", + true, + {repairpath : repairpath, nohttpinterface : "", bind_ip : "127.0.0.1"}); + db = m.getDB( baseName ); big = new Array( 5000 ).toString(); |