Commit Graph

40 Commits

Author SHA1 Message Date
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
Charlie Swanson
047f82cdba SERVER-21384 Enable replica set suites for in-memory storage engines 2015-11-19 14:19:12 -05:00
Jonathan Abrahams
46d22dc70b SERVER-20873 Add separate key file using 644 permission 2015-11-19 11:06:58 -05:00
David Storch
967422b380 SERVER-19571 configure regression loop to use --readMode commands in suites that don't start mongos
Adds --shellReadMode flag to resmoke.py and changes Evergreen / resmoke configuration files to pass
--readMode commands where appropriate.
2015-07-30 14:56:45 -04:00
Spencer T Brody
917091361d SERVER-18221 Make auth1.js resilient to any node being elected primary 2015-04-29 15:40:43 -04:00
Spencer T Brody
6ccb82c987 SERVER-17450 Standardize on a single way to start mongod in tests 2015-04-06 18:19:21 -04:00
matt dannenberg
9399c2c04c SERVER-17185 improve error handling in replsets/auth1.js 2015-02-05 06:06:05 -05:00
Eric Milkie
13de9e9c9f SERVER-16904 re-auth the master if it happens not to be node 0 2015-01-20 14:08:32 -05:00
Spencer T Brody
1b830759ea SERVER-16420 Make replsets/auth1.js test agnostic about who is elected primary 2014-12-04 19:21:40 -05:00
matt dannenberg
188694e853 improve replsets/auth1.js 2014-11-11 10:47:40 -05: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
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
Randolph Tan
eb41492c6f SERVER-13190 migrate replset jstest suite to use write commands api 2014-03-14 12:05:05 -04:00
Mark Benvenuto
39032c059a SERVER-4966: Renable tests for Windows 2014-01-29 17:15:54 -05:00
Spencer T Brody
49fd6dbb2b SERVER-11555 Replace all occurrences of addUser with createUser in jstests 2013-11-06 17:11:39 -05:00
Benety Goh
2e10439eba SERVER-9579 fixed dbpath prefix for all smoke tests that start (multiple) mongod processes through the mongo shell 2013-10-29 13:11:41 -04:00
Spencer T Brody
f0c6cebd73 SERVER-10794 Maintain backwards-compatible form of addUser for one more release 2013-10-11 18:14:12 -04:00
Spencer T Brody
ec23a4a358 SERVER-9517 Update tests to pass with new user schema 2013-09-06 12:31:22 -04:00
Andy Schwerin
beb5a898a6 SERVER-1891 Fix test broken by commit 0eb227c158. 2013-07-17 19:23:48 -04:00
Spencer T Brody
fbdadd06ff SERVER-8003 Add logging to test 2012-12-21 13:59:38 -05:00
Spencer T Brody
3332fb445d SERVER-7572 Update error code in test 2012-12-07 17:47:52 -05:00
Spencer T Brody
faf643fbbc Check authorization in the new AuthorizationManager SERVER-7572 2012-12-07 11:38:54 -05:00
Eric Milkie
1695343dbf fix test to match new build behavior with exit statuses 2012-10-10 20:48:03 -04:00
Spencer T Brody
0fb9381b2f buildbot SERVER-6160: make using real hostname the default for replica set tests again 2012-06-21 14:08:54 -04:00
Eric Milkie
5954c7f9a4 SERVER-5024 disable failing test on Windows for now 2012-02-21 09:00:58 -05:00
Eric Milkie
53eb552050 fix test on windows 2012-01-04 10:46:40 -05:00
Kristina
759caebb73 Fix a couple tests to work with auth 2011-11-11 11:56:52 -05:00
Kristina
51493ee642 don't allow access to internal user when running with --auth SERVER-3666 2011-08-23 12:08:37 -04:00
Kristina
c2e54020bd check auth for rs commands SERVER-3418
Conflicts:

	db/repl/replset_commands.cpp
2011-07-29 11:49:14 -04:00
Kristina
05dd56e28a move auth key files to jstest/libs 2011-06-17 10:54:27 -04:00
Kristina
e9d037a76f correctly calculate majority in reconfig 2011-06-09 13:25:46 -04:00
Kristina
831eee02a5 authenticate rs manager thread SERVER-2919 2011-04-08 10:31:48 -04:00
Kristina
0e2ef15e9c debugging tests 2011-04-06 17:58:56 -04:00
Kristina
96eb960e28 make test wait for replication 2010-12-27 22:55:23 -05:00
Kristina
c9dbb72e93 make sure user is written to db before exiting 2010-12-27 20:30:49 -05:00
Kristina
e08ccea99f fix json check 2010-12-27 18:53:11 -05:00
Kristina
d951fc4c9d V8 doesn't have JSON class 2010-12-27 17:05:01 -05:00
Kristina
fbf7b90a1e rs auth 2010-12-27 16:07:33 -05:00