summaryrefslogtreecommitdiff
path: root/src/mongo/shell/utils.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 /src/mongo/shell/utils.js
parent7baac52f05a3e0cbdb7168e51836f507eda99dff (diff)
downloadmongo-6ccb82c987a47995fd7d8019d7fd4d1e557478b4.tar.gz
SERVER-17450 Standardize on a single way to start mongod in tests
Diffstat (limited to 'src/mongo/shell/utils.js')
-rw-r--r--src/mongo/shell/utils.js10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/mongo/shell/utils.js b/src/mongo/shell/utils.js
index 694a5a10709..9dc223505cb 100644
--- a/src/mongo/shell/utils.js
+++ b/src/mongo/shell/utils.js
@@ -1158,16 +1158,8 @@ help = shellHelper.help = function (x) {
return;
}
else if (x == "test") {
- print("\tstartMongodEmpty(args) DELETES DATA DIR and then starts mongod");
+ print("\tMongoRunner.runMongod(args) DELETES DATA DIR and then starts mongod");
print("\t returns a connection to the new server");
- print("\tstartMongodTest(port,dir,options)");
- print("\t DELETES DATA DIR");
- print("\t automatically picks port #s starting at 27000 and increasing");
- print("\t or you can specify the port as the first arg");
- print("\t dir is /data/db/<port>/ if not specified as the 2nd arg");
- print("\t returns a connection to the new server");
- print("\tresetDbpath(dirpathstr) deletes everything under the dir specified including subdirs");
- print("\tstopMongoProgram(port[, signal])");
return;
}
else if (x == "") {