Commit Graph

13 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
Mark Benvenuto
6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Mike Grundy
55b5ad8723 SERVER-22341 fix jslint errors in jstests/tool with eslint --fix 2016-02-05 15:00:52 -05:00
Kaloian Manassiev
3ed6635a5f SERVER-21050 Cleanup ReplSetTest
This is just a cleanup work to hide some of the private state of
ReplSetTest so it is easier to encapsulate and add new logic. Also enables
strict mode.
2015-12-08 13:05:00 -05:00
matt dannenberg
0524c8beca make tool_replset.js more resilient against certain failures 2015-02-26 10:29:19 -05:00
Eric Milkie
06b3468eac SERVER-15535 add version 2 to generated oplog document 2014-10-17 11:43:56 -04:00
Benety Goh
b95adf31a0 SERVER-15547 removed tests that rely on tools --dbpath option 2014-10-07 19:49:27 -04:00
Spencer T Brody
4bce57b6ac Use clearRawMongoProgramOutput to avoid test failure from asserts in the server instead of the tools 2014-07-23 18:00:11 -04:00
Jonathan
2f0c618854 SERVER-14249 Add mongodump tests with --dbpath
Signed-off-by: Benety Goh <benety@mongodb.com>
2014-06-13 18:31:08 -04: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
Siddharth Singh
2b48ac27f5 SERVER-6915 Test cleanup plus add print messages 2012-09-19 11:30:24 -04:00
Siddharth Singh
ca91de625f SERVER-6915 use ::_exit() in tools
use ::_exit() to prevent static destructors from running in tools
to prevent static destructors.
2012-09-14 14:12:38 -04:00