Commit Graph

27 Commits

Author SHA1 Message Date
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
Eric Milkie
ce9b498f3a SERVER-21292 update remove1.js to use newer testing paradigms 2015-11-04 16:45:22 -05:00
matt dannenberg
b25a1fb514 SERVER-21237 fix remove1.js to handle failover that occurs in pv0 2015-11-03 11:29:47 -05:00
matt dannenberg
42d0577042 SERVER-21237 fix ReplSetTest.prototype.awaitReplication to use getReplSetStatus rather than query the oplog directly 2015-11-02 14:29:21 -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
Spencer T Brody
1bb29da08f SERVER-15655 Fix remove1.js test 2014-11-03 12:52:28 -05:00
Spencer T Brody
0bb7d05719 SERVER-15868 SERVER-15655 Better handling of receiving an invalid config via a heartbeat 2014-10-31 11:24:58 -04:00
Andy Schwerin
2d3bac6ff5 SERVER-15535 On force reconfig, bump the supplied config version by a large-ish random number.
This is for consistency with the legacy implementation, and to increase the
likelihood that if several nodes take force reconfigs, the nodes recognize them
to be different configurations, and choose one as the winner.
2014-10-13 14:41:35 -04:00
Kristina
b4be8b421a SERVER-8677 Remove race condition in test 2013-02-22 15:48:24 -05:00
Tad Marshall
4adc117fbc SERVER-5548 Relax timing in remove1.js
It seems to take almost exactly 30 seconds to cycle a primary
up or down on the 32-bit Windows buildbot and the test times
out after 30 seconds so this is too flaky.  Change the timeout
from 30 seconds to 60 seconds to buy some breathing room.  Also,
the comments and messages displayed by this test weren't aligned
with changes that had been made to it, making the log hard to
follow: fix up the comments and log messages to match what the
test is actually doing.
2012-04-09 15:00:12 -04:00
Kristina
4060d82d79 Close connections when a replica set member is removed SERVER-4501 2011-12-20 12:05:38 -05:00
Kristina
d54ce5475c fix remove test race condition 2011-07-25 19:03:56 -04:00
Kristina
aa4edc53fb force reconfig SERVER-2182 2011-06-14 16:22:51 -04:00
Kristina
759e1e646d allow members to stay gracefully alive when removed from a set 2011-06-14 16:05:44 -04:00
Kristina
d5f7ca3acc fix remove test 2011-05-31 10:33:33 -04:00
Kristina
37e173b698 fix race condition in test 2011-05-10 17:32:20 -04:00
Kristina
0c5c2b49d2 fix test 2011-05-06 16:04:43 -04:00
Kristina
ecdef30666 don't allow switching from localhost to hostname 2011-05-06 10:43:45 -04:00
Eliot Horowitz
336a1db691 better debugging 2011-04-27 00:09:07 -04:00
Kristina
c889977329 rs test fixes 2011-04-21 11:19:55 -04:00
Kristina
100af667b2 simplify rs test 2011-04-07 12:08:09 -04:00
Kristina
0e2ef15e9c debugging tests 2011-04-06 17:58:56 -04:00
Kristina Chodorow
7cc92cce74 test debugging 2010-11-18 13:05:02 -05:00
Kristina Chodorow
8e4acff269 fix tests 2010-11-18 09:56:21 -05:00
Kristina Chodorow
8a0def48bb shutdown server when removed from replica set SERVER-1871 2010-11-17 18:44:32 -05:00