Commit Graph

33 Commits

Author SHA1 Message Date
Kaloian Manassiev
6745d91683 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:32:56 -05:00
Kaloian Manassiev
c078dc37a9 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:15:06 -05:00
Charlie Swanson
047f82cdba SERVER-21384 Enable replica set suites for in-memory storage engines 2015-11-19 14:19:12 -05:00
Randolph Tan
065197c7d6 SERVER-21405 Add more context for shell error message "error doing query: failed" 2015-11-11 15:06:27 -05:00
Max Hirschhorn
ce3e47aed5 SERVER-19301 Expose new MongoBridge API for network partition testing.
Changes the existing architecture of having a mongobridge process for
each unidirection link between two mongod processes in a replica set to
having a single mongobridge process per node in the replica set. The
mongobridge process is able to distinguish between connections from
different hosts by using the "hostInfo" field in the initial isMaster
command request.
2015-11-06 13:40:59 -05:00
Siyuan Zhou
017f66ab67 SERVER-21077 stepdown.js should wait for expected primary 2015-10-22 17:13:20 -04:00
Charlie Swanson
c15f4bb96d SERVER-18272 Update jstests to use allocatePort() instead of hard coding ports 2015-09-09 13:14:48 -04:00
Scott Hernandez
af148d8ef5 SERVER-18363: fix for stepdown.js 2015-08-10 11:03:31 -04:00
Adam Midvidy
b947b518aa SERVER-18334 preserve existing error message if runCommand fails due to connection failure 2015-05-11 13:46:00 -04:00
Adam Midvidy
cc5fc3a275 SERVER-18198 use native runCommand method in the shell 2015-04-29 16:47:11 -04:00
Adam Midvidy
8a805598bb SERVER-7775 refactor fsyncUnlock to execute through standard command path 2015-03-26 14:20:38 -04:00
Adam Midvidy
5e7aa5c9ef Revert "SERVER-7775 refactor fsyncUnlock to execute through standard command path"
This reverts commit 5c48ea0d3f.
2015-03-25 19:06:49 -04:00
Adam Midvidy
5c48ea0d3f SERVER-7775 refactor fsyncUnlock to execute through standard command path 2015-03-25 15:00:03 -04:00
matt dannenberg
91806c6dd5 SERVER-17442 increase tolerance for shutdown timeout in stepdown.js to fix windows build break 2015-03-03 05:03:36 -05:00
Spencer T Brody
fc0d56be2c SERVER-16878 Increase logging verbosity in stepdown.js test 2015-01-21 11:57:18 -05:00
Spencer T Brody
7a4cad9e25 SERVER-16878 Add extra diagnostics to help debug stepdown.js test failure 2015-01-15 16:26:27 -05:00
Andy Schwerin
dea49e01a9 SERVER-15535 Perform better error detection in stepdown.js 2014-10-20 13:36:55 -04:00
Eric Milkie
cd82c0d673 SERVER-15535 ensure reconfig worked 2014-10-17 11:43:57 -04:00
Eric Milkie
ca6ab0db38 SERVER-15535 add arbiter to make shutdown test work 2014-10-16 17:20:55 -04:00
matt dannenberg
2a90d1e202 SERVER-14857 prevent stepdown.js from failing when grabbing the wrong master during shutdown 2014-08-11 11:37:35 -04:00
Eric Milkie
243e7efa12 Revert "SERVER-14755 increase ReplSetTest timeouts to prevent spurious failures while using HybridCoordinator"
This reverts commit 9ec7d68a97.
2014-08-01 11:31:32 -04:00
matt dannenberg
9ec7d68a97 SERVER-14755 increase ReplSetTest timeouts to prevent spurious failures while using HybridCoordinator 2014-07-31 12:52:42 -04:00
Spencer T Brody
08c17bd683 SERVER-10211 Give stepdown.js more time for the primary to be elected after a reconfig 2013-07-30 15:49:50 -04:00
Kristina
fd5cef9ff6 SERVER-1929 Fix test race condition 2012-10-12 13:55:13 -04:00
Kristina
0cb718d3cf Fix test to make sure correct member is primary before proceeding 2012-10-05 15:34:13 -04:00
Kristina
32475f5ad8 Fix test to wait for the master's POV to catch up 2012-08-07 14:37:50 -04:00
Kristina
808a6619da Fix MessagingPort to register all ports in global list 2011-12-01 16:33:47 -05:00
Kristina
5af8429d97 fix test edge case 2011-07-19 14:17:08 -04:00
dwight
d5b424de15 comment 2011-07-19 10:46:48 -04:00
dwight
fe780890af try to make stepdown.js more robust 2011-07-19 10:44:52 -04:00
Kristina
0180e84034 don't shut down if slaves aren't up-to-date SERVER-616 2011-06-10 10:56:46 -04:00
Kristina
81d192dff0 allow lower-priority members to be elected during step down 2011-04-13 14:29:23 -04:00
Kristina
6af8365495 stepdown is rejected if other nodes are not up-to-date SERVER-2869
add force : true option to force stepdown
2011-04-05 18:07:20 -04:00