Commit Graph

11 Commits

Author SHA1 Message Date
Max Hirschhorn
01dfe61a6c SERVER-23741 Use MongoRunner.runMongoTool() to run tools from JS tests.
Changes all usages of runMongoProgram(<mongo tool>, ...) to
MongoRunner.runMongoTool(<mongo tool>, {...}) to take advantage of the
--dialTimeout command line option supported by the mongo tools.

Adds support for specifying positional arguments to
MongoRunner.runMongoTool() in order to support all invocations of the
bsondump and mongofiles tools.
2016-06-07 16:01:44 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Dan Pasette
2a86489d6f SERVER-20759 dumprestore.js chooses primary port for mongorestore 2015-10-05 14:12:46 -04:00
Spencer T Brody
6ccb82c987 SERVER-17450 Standardize on a single way to start mongod in tests 2015-04-06 18:19:21 -04:00
Gabriel Russell
b896f4ca68 TOOLS-488 Tools exit 1 on error
Closes #890

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-12-23 16:15:28 -05:00
Benety Goh
2e10439eba SERVER-9579 fixed dbpath prefix for all smoke tests that start (multiple) mongod processes through the mongo shell 2013-10-29 13:11:41 -04:00
Eliot Horowitz
9e55fce95e forgot a spot to fix test 2011-01-03 02:53:58 -05:00
Eliot Horowitz
bfa73484df fix dumprestore3.js 2011-01-03 01:04:04 -05:00
Eliot Horowitz
0b190bfed4 fix line endings 2011-01-03 01:02:25 -05:00
dwight
c970fde6c1 more debugging as test is failing 2011-01-02 22:34:13 -05:00
Kristina Chodorow
0bb165f589 check imports are going to a master SERVER-1878 2010-10-08 11:23:23 -04:00