summaryrefslogtreecommitdiff
path: root/src/mongo
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@10gen.com>2013-05-10 12:53:13 -0400
committerSpencer T Brody <spencer@10gen.com>2013-05-10 12:53:13 -0400
commit2d74c9110eb7a6cc173bb1edb02ec4f91eca56b7 (patch)
tree280aa79aa3bdffc1b360226f901b8a8afb8e9731 /src/mongo
parentc4f5c81aa05abe1cddc0ed5b7a3912a7ebbc048f (diff)
downloadmongo-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.js3
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);