Commit Graph

25 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
Eric Milkie
5598c216ca SERVER-16391 archor primary in replset tests, or make agnostic to primary node 2014-12-03 12:58:24 -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
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
Kristina
e56b0144be Fix test to wait until server is secondary to query it 2012-06-20 11:42:10 -04:00
Eric Milkie
bae9a70dbf since B is the node rolling back, we need its view of the world rather than A's 2012-06-20 10:27:52 -04:00
Eric Milkie
3c75d117de plug race condition; wait for all nodes' statuses to be valid
This test was failing with one of the secondaries being in state RECOVERING,
so I added a further wait statement.
2012-06-19 15:56:37 -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
b372e20ec8 fix replset tests to handle disconnection 2010-10-06 10:40:28 -04:00
dwight
0c95910af2 eliminate CR chars 2010-09-05 02:06:29 -04:00
dwight
f9e013eb4d rs better fatal handling 2010-09-02 11:26:38 -04:00
dwight
62cfac2a57 crlf 2010-09-02 10:17:48 -04:00
dwight
d5cc6edf4f lowercase 2010-08-31 05:06:53 -04:00
dwight
7358999b68 a little more test 2010-08-31 03:02:59 -04:00
dwight
b23b4cadd3 better test logging; log less pdfile 2010-08-29 14:54:33 -04:00
Dwight
9611d70283 rs rollbac kbetter test 2010-08-23 16:17:42 -04:00
Dwight
7029641c97 rs more rollback testing 2010-08-23 16:09:04 -04:00
Dwight
235865fc24 rs test and fix rollback of deleteindex command 163 2010-08-23 15:58:30 -04:00
Dwight
8fb5af818d rs rollback work 162 163 2010-08-23 15:48:13 -04:00