Commit Graph

17 Commits

Author SHA1 Message Date
hari devaraj
dd7e05dbde SERVER-21432 Allowed slaveOk reads when node is in drain mode 2016-06-17 15:53:36 -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
f768da59c3 SERVER-22341 fix jslint errors in jstests/replsets with eslint --fix 2016-02-05 15:00:51 -05:00
Kaloian Manassiev
20cd3a392e SERVER-21050 Introduce ReplSetTest.State enumeration everywhere
Makes all JS tests access the replica set member state from the class
itself instead of the object instance. Also removes some unused code.
2015-12-11 13:21:22 -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
d789bca4c9 SERVER-18498 New replica set configurations have protocolVersion=1 by default
This re-adds Siyuan's work from commits 19d2885ec5 and 362aac3937.
2015-10-01 08:00:10 -04:00
Jason Rassi
19d2885ec5 Revert "SERVER-18498 New replica set configurations have protocolVersion=1 by default"
This reverts commit 2c1facf471.
2015-09-24 11:16:32 -04:00
Siyuan Zhou
2c1facf471 SERVER-18498 New replica set configurations have protocolVersion=1 by default 2015-09-23 14:50:56 -04:00
daveh86
0e224f9a0f SERVER-10177 Remove all Js instances of "throw 'string';" with "throw Error();"
Includes both the initial patch to remove all throws and patches for all failing tests

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-05-22 09:17:09 -04:00
Randolph Tan
eb41492c6f SERVER-13190 migrate replset jstest suite to use write commands api 2014-03-14 12:05:05 -04:00
Scott Hernandez
3e7274c55c SERVER-10183: fix replsets/maintenance.js test for new exception from getmore/next 2013-07-11 15:43:19 -04:00
Kristina
02e4b71879 Remove timing-dependent test 2012-05-17 14:58:24 -04:00
Kristina
9c14d20cf5 getMore uasserts when RS member becomes unreadable SERVER-4853 2012-02-23 12:08:21 -05:00
Kristina
62f34935f7 command to get into/out of maintenance mode SERVER-3923
Not that 3923 could ever happen again, but if it did...
2011-09-22 13:11:07 -04:00
Kristina
d869bd9bb7 try/catch around all command calls SERVER-3923 2011-09-22 12:35:44 -04:00
Kristina
6beeeee10d maintenance test debugging 2011-08-10 10:06:34 -04:00
Kristina
c84f98ab80 maintenance mode for commands SERVER-3427 2011-07-29 11:48:09 -04:00