Commit Graph

6 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
Eric Milkie
37732258be SERVER-16863 make auth_no_pri.js election-agnostic 2015-01-15 09:08:11 -05:00
Andreas Nilsson
0e06610b04 SERVER-16002 Make auth_no_pri.js test use SCRAM-SHA-1 2014-12-08 17:42:43 -05:00
Andy Schwerin
7001e916bd SERVER-13295 Ensure that user and data documents reach all nodes in auth_no_pri.js.
In order to confirm that you can authenticate to and read data from a
non-primary node with auth enabled, the test set up phase must write some data
and wait for it to reach all nodes, before taking down the majority of them.
This patch achieves this by setting an appropriate write concern on the user and
data document inserts.
2014-03-20 11:29:35 -04:00
Spencer T Brody
1083f8dec3 SERVER-6665 Add test to ensure that you can auth a RS connection to a RS with no primary 2014-03-14 15:43:14 -04:00