Commit Graph

26 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
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
matt dannenberg
847c0f67ad SERVER-21129 wait for batch apply flush in a separate thread 2015-10-30 11:03:41 -04:00
Benety Goh
dd4615e26d SERVER-16841 modified rollback.js to check connections made to primary during rollback 2015-09-17 10:46:08 -04:00
Eric Milkie
5598c216ca SERVER-16391 archor primary in replset tests, or make agnostic to primary node 2014-12-03 12:58:24 -05:00
Spencer T Brody
725c657adc SERVER-16032 SERVER-15957 Get OperationContext for ReplicationCoordinator::signalDrainComplete from the caller 2014-11-24 13:34:40 -05:00
Andy Schwerin
a0e5fbf5e6 SERVER-15836 Clean up several rollback js tests. 2014-10-28 11:49:33 -04:00
matt dannenberg
0548f4764e SERVER-15535 refactor jstests/replsets/rollback*.js to use bridging 2014-10-14 06:14:55 -04:00
Andy Schwerin
964020ba2d SERVER-15535 Refactor jstests/replsets/rollback.js to use bridging. 2014-10-13 17:03:32 -04:00
Randolph Tan
eb41492c6f SERVER-13190 migrate replset jstest suite to use write commands api 2014-03-14 12:05:05 -04:00
Kristina
77a14a14b0 Fix timing issues on a couple of tests 2012-05-17 00:34:03 -04:00
Brandon Diamond
00c8aa955a Fixed broken tests to wait for replication 2011-12-22 18:17:27 -05:00
Kristina Chodorow
de7e99dcf5 master->secondary on stepdown SERVER-1681 2010-10-14 17:14:23 -04:00
Kristina Chodorow
9ac87ee843 added reconnect function 2010-10-07 17:25:06 -04:00
Kristina Chodorow
88f04aaf72 fix replset blind never being unset 2010-10-07 14:30:01 -04:00
Kristina Chodorow
67bfb7e9f6 allow reconnection in replset tests 2010-10-07 10:38:35 -04:00
Kristina Chodorow
c113be1957 time out replset tests 2010-10-07 09:39:33 -04:00
Kristina Chodorow
b372e20ec8 fix replset tests to handle disconnection 2010-10-06 10:40:28 -04:00
dwight
b23b4cadd3 better test logging; log less pdfile 2010-08-29 14:54:33 -04:00
dwight
02cbcfa464 rs make test better 2010-08-13 18:16:03 -04:00
Dwight
2ee5f52720 clean up rollback.js 2010-08-03 11:34:16 -04:00
Dwight
4cb2fac206 rollback test 2010-08-03 11:03:36 -04:00
Dwight
7620a8d7b3 rollback.js 2010-08-03 10:56:05 -04:00
Dwight
8a05c6d4e2 warning 2010-08-03 09:29:08 -04:00
Dwight
58faef15a1 new test 2010-08-02 19:26:50 -04:00