Commit Graph

32 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
matt dannenberg
fcb244132a SERVER-21406 add error message to assert.soon due to new timeout 2015-11-11 10:22:33 -05:00
matt dannenberg
41dd2ff951 SERVER-21406 extend timeout in rollback2.js when running in pv0 2015-11-11 05:36:16 -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
Eliot Horowitz
b186710fdc SERVER-13635: make some replset tests generic 2014-10-12 12:55:42 -04:00
Brandon Diamond
00c8aa955a Fixed broken tests to wait for replication 2011-12-22 18:17:27 -05:00
Kristina
302856ab32 fix test to check for recovering state before proceeding 2011-07-25 22:14:14 -04:00
Kristina Chodorow
04b64a6b32 test fixes 2010-11-03 15:10:56 -04: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
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
159230918b comments 2010-09-10 13:14:58 -04:00
Dwight
b87ec3ea85 crlf 2010-09-10 11:25:28 -04:00
dwight
b23b4cadd3 better test logging; log less pdfile 2010-08-29 14:54:33 -04:00
dwight
d0cfce8c58 try to fix sync1.js 2010-08-17 22:24:35 -04:00
Dwight
00ca6aed55 rs fix rollback of commands 2010-08-03 15:19:34 -04:00
Dwight
beaf89b124 rs rollback create collection 2010-08-03 15:00:56 -04:00
Dwight
c23fc0b083 rollback certain create collection cases 2010-08-03 14:32:01 -04:00
Dwight
c740177041 rs handle rollbacks from capped collections 2010-08-03 14:13:53 -04:00
Dwight
b21a7bbfdd tests 2010-08-03 13:10:43 -04:00
Dwight
9701370edf fix 2010-08-03 13:04:17 -04:00
Dwight
ad89486dfb tests rs 2010-08-03 13:03:43 -04:00
Dwight
ccb1bee3d9 tests rs 2010-08-03 13:02:08 -04:00
Dwight
7c48f85a2b new test 2010-08-03 12:06:50 -04:00
Dwight
bf8be2f5e3 new test 2010-08-03 12:05:46 -04:00