Commit Graph

15 Commits

Author SHA1 Message Date
Kaloian Manassiev
20cd3a392e 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:21:22 -05:00
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
matt dannenberg
d2adb8eda7 SERVER-21509 fix rollback4.js 2015-11-17 11:00:44 -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
a5030efecd SERVER-17363 increase heartbeat timeout for rollback4 2015-02-25 13:17:21 -05: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
9b06f0011e SERVER-15836 Change how long we wait for the master in rollback4.js.
In the legacy implementation of replication, the newly elected node waits for
queued oplog entries to drain before transitioning to primary.  In the new
implementation, it transitions immediately, but does not report "ismaster: true"
until the drain completes.
2014-10-28 15:51:21 -04:00
Eric Milkie
53698194b2 SERVER-15535 fix deadlock in drain mode 2014-10-15 17:37:23 -04:00
matt dannenberg
492d97468b SERVER-14922 increase the timeout in rollback4.js to remove one of its failure modes 2014-08-15 11:53:54 -04:00
matt dannenberg
1690ee431e remove rollback4 debugging to decrease failure frequency 2014-06-10 11:51:57 -04:00
Randolph Tan
0dabee8227 SERVER-13741 Migrate remaining tests to use write commands 2014-05-15 14:04:11 -04:00
David Storch
7238072660 Revert "SERVER-13741 Migrate remaining tests to use write commands"
This reverts commit 87dc3ae516.
2014-05-06 19:00:56 -04:00
Randolph Tan
87dc3ae516 SERVER-13741 Migrate remaining tests to use write commands 2014-05-06 16:32:44 -04:00
matt dannenberg
cf3d1dd725 extra debugging to help fix rollback4.js 2014-04-29 09:27:29 -04:00
Mark Benvenuto
84022c1f5a move tests from noPassthrough to slow2 2014-04-11 11:34:40 -04:00