diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-05-10 12:53:13 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-05-10 12:53:13 -0400 |
commit | 2d74c9110eb7a6cc173bb1edb02ec4f91eca56b7 (patch) | |
tree | 280aa79aa3bdffc1b360226f901b8a8afb8e9731 /src/mongo | |
parent | c4f5c81aa05abe1cddc0ed5b7a3912a7ebbc048f (diff) | |
download | mongo-2d74c9110eb7a6cc173bb1edb02ec4f91eca56b7.tar.gz |
Auth passthrough tests no longer require setting initial database to admin when running startParallelShell
Diffstat (limited to 'src/mongo')
-rw-r--r-- | src/mongo/shell/servers_misc.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/shell/servers_misc.js b/src/mongo/shell/servers_misc.js index bfca96d6091..f34a5c48cea 100644 --- a/src/mongo/shell/servers_misc.js +++ b/src/mongo/shell/servers_misc.js @@ -287,8 +287,7 @@ function startParallelShell( jsCode, port ){ args.push("--eval", jsCode); if (typeof db == "object") { - // Must start connected to admin DB so auth works when running tests with auth. - args.push(db.getMongo().host + "/admin"); + args.push(db.getMongo().host); } x = startMongoProgramNoConnect.apply(null, args); |