Commit Graph

184 Commits

Author SHA1 Message Date
Spencer T Brody 4cfc0636c0 SERVER-8769 skip opcounters.js when running small_oplog tests 2013-03-04 13:59:04 -05:00
Eric Milkie cafb1081b8 SERVER-8782 disable smalloplog geo_update_btree.js on Solaris 2013-03-04 12:43:17 -05:00
Spencer T Brody 3d6337ea89 SERVER-8501 Rename MONGO-CR to MONGODB-CR 2013-02-15 14:19:42 -08:00
Eric Milkie fccd00cad5 SERVER-8589 disable drop2.js for auth testing 2013-02-15 13:35:38 -05:00
Andy Schwerin 1b2b144a88 SERVER-8414/SERVER-8429 Support SASL authentication in DBClient::auth() method, tools.
Introduces a new overload of the auth() method of DBClientWithCommands to the
C++ driver.  The new overload takes a single BSONObj of authentication
parameters as input, and is analagous to the saslClientAuthenticate method.
This new method supports all SASL methods, if the client has GSASL support and
previously ran the mongo initializers, plus it supports MONGO_CR.  It is the
preferred entry point for authentication in the C++ client, going forward.

The old ::auth() method remains and keeps its existing behavior.
2013-02-12 15:30:24 -05:00
Spencer T Brody 288df8991b Skip jstests/sharding/read_pref.js when running test with auth SERVER-6972 SERVER-4237 2013-02-08 16:58:10 -05:00
Spencer T Brody ba25727629 SERVER-8414 SERVER-8413 Skip jstests/max_message_size.js when running with auth 2013-01-30 16:24:08 -05:00
Spencer T Brody 4621e405d9 SERVER-4237 SERVER-6972 Skip jstests/sharding/read_pref_cmd.js when run with auth 2013-01-24 15:20:12 -05:00
Eric Milkie 1a4363cb48 SERVER-8222 remove connections_opened.js from small-oplog test 2013-01-18 16:28:28 -05:00
Eric Milkie 1a1f72cc2a SERVER-8209 reverse logic of --sslForceCertificateValidation with --sslWeakCertificateValidation 2013-01-18 14:29:34 -05:00
Spencer T Brody 4c22811792 SERVER-7864 Make copyDB, clone, and cloneCollection work with auth.
copyDB and clone can only be run when auth is enabled if the client is
authenticated as an old-style user. New style users using the extended form
privilege documents cannon run copyDB or clone when auth is enabled.  They can
still run cloneCollection (against the target instance), so long as the source
instance doesn't have auth on.
2013-01-17 13:44:42 -05:00
Eliot Horowitz e08992e04a try to fix smoke.py when running old failing tests 2013-01-06 20:58:09 -05:00
Mathias Stearn 0eba42b858 Skip --only-old-fails if generated with an old version of smoke.py 2013-01-04 19:04:05 -05:00
Eliot Horowitz 2add89edce move writing of smoke-last.json above where we throw an exception 2013-01-03 17:52:05 -05:00
Andy Schwerin bfa4ef93ad SERVER-7128 Add --authenticationMechanism parameter to mongo shell. 2013-01-02 19:49:33 -05:00
Andy Schwerin 8c9373d63d SERVER-7128 Changes to smoke.py and utils.js to run tests with sasl authentication. 2013-01-02 13:09:01 -05:00
Andy Schwerin c1da06e5c4 Revert "SERVER-7128 Changes to smoke.py and utils.js to run tests with sasl authentication."
This reverts commit 43cc1547aa.

Reverting while investigating introduced build break.
2013-01-02 12:59:04 -05:00
Andy Schwerin 43cc1547aa SERVER-7128 Changes to smoke.py and utils.js to run tests with sasl authentication. 2013-01-02 10:07:38 -05:00
Eliot Horowitz fc54b8f7df smoke.py stores last test results as json 2013-01-01 21:47:25 -05:00
Spencer T Brody 61eef01258 SERVER-7931 Re-enable some tests to run with auth 2012-12-17 18:00:35 -05:00
Spencer T Brody cc29e330d5 SERVER-7931 Skip jstests/mr_killop.js when running tests with auth 2012-12-14 12:49:44 -05:00
Spencer T Brody 96ca30b9fb SERVER-7931 Skip jstests/evalf.js when running tests with auth 2012-12-14 12:49:44 -05:00
Spencer T Brody c8884bd574 SERVER-7864 Skip jstests/copydb when running tests with auth 2012-12-14 12:49:44 -05:00
Spencer T Brody 48c44465bd SERVER-7931 Skip jstests/evald.js when running tests with auth 2012-12-14 12:49:44 -05:00
Spencer T Brody f185d93204 SERVER-7931 Skip jstests/sharding/features3.js when running tests with auth 2012-12-14 12:49:44 -05:00
Eric Milkie 1dfaa36f44 SERVER-7202 test with certificates
Adjust unit tests to present certificates for validation at SSL handshake time.
2012-12-11 15:51:59 -05:00
J. Randall Hunt 7f15a5ca4f [BUILDBOT-138] Fix test elapsed time units to be more sane
Will display milliseconds if time is less than 10 seconds, seconds if
less than 60 seconds, minutes if more than 60 seconds
2012-12-11 14:56:11 -05:00
Spencer T Brody c7c753755a Make test commands disabled by default, and enable them on all tests 2012-12-11 11:30:58 -05:00
Eric Milkie 82d5d620f9 simpler way to print exception 2012-12-05 20:11:38 -05:00
Eric Milkie f0cde92eef display exception info when we can't connect 2012-12-05 17:27:43 -05:00
Eric Milkie 3e68f5ecca temporary fix for run_old_fails() 2012-12-05 14:27:35 -05:00
Eric Milkie 9b470ab723 add SSL smoke testing suite 2012-12-05 14:27:35 -05:00
Eric Milkie 7c50653c55 SERVER-7202 add support for ssl smoke testing 2012-12-05 13:37:18 -05:00
Eric Milkie 7897df78d1 do not restart mongod after 20 unit tests have run
mongod was running during smokeCppUnittests and slowing everything down.
2012-11-26 13:20:06 -05:00
Spencer T Brody 57f1be7c72 SERVER-4237 SERVER-6972 Skip gle_with_conf_servers when running tests with auth 2012-11-07 14:04:09 -05:00
Randolph Tan 0f4946ba2d SERVER-7503 Fail point test causing nightly to fail
Make the test run with its own independent configuration
2012-10-30 12:20:36 -04:00
Greg Studer 5e456ab807 buildbot make smoke.py ignore more explicit 2012-10-24 15:57:08 -04:00
Spencer T Brody fd3f282059 SERVER-4237 Make sure key file have the correct permissions before running test with auth 2012-10-19 13:32:35 -04:00
Spencer T Brody 3342a6ec9c SERVER-7356 SERVER-4237 Skip disk tests when running with auth 2012-10-15 11:26:29 -04:00
Spencer T Brody 3028cda31d SERVER-7317 SERVER-4237 Skip dur tests when running with auth 2012-10-10 15:57:46 -04:00
Spencer T Brody ad0cb17b58 SERVER-4237 Make code to skip tests when running with auth work on any platform 2012-09-26 15:32:04 -04:00
Andy Schwerin e4a55dd919 Don't start a mongod when running CppUnittests. 2012-09-13 12:49:32 -04:00
Spencer T Brody bbc53eca04 SERVER-6972 SERVER-4237 Skip sharding/read_pref_rs_client.js when running with auth 2012-09-10 16:31:53 -04:00
Spencer T Brody 91b22ce9bb Skip client tests when running with auth. SERVER-4237 2012-09-04 16:06:39 -04:00
Spencer T Brody 440ea57039 SERVER-4237 Skip tests that use benchRun when running with auth 2012-08-01 15:27:52 -04:00
Tad Marshall 1abe1c5943 For Windows, add delay after killing BuildLogger job object
The new way of killing mongod.exe for smokeJs apparently doesn't
wait for all child processes to exit, so cleanbb.py would fail to
delete files: "WindowsError: [Error 32] The process cannot access
the file because it is being used by another process:".  Sleep for
5 seconds after terminating the job object to let the processes die.
2012-07-16 14:31:38 -04:00
Eliot Horowitz 5665ee8b85 windows unit test - this works on some machines at least it seems 2012-07-14 07:54:49 -04:00
Eliot Horowitz e84a8331d9 try to fix running unit tests on windows 2012-07-14 01:59:25 -04:00
Greg Studer 479b5b9d96 add multiVersion test suite to smoke.py 2012-07-13 13:18:22 -04:00
Dan Crosta fa1b2db53a smoke.py: dont add extra command line args to explicit commands 2012-07-13 12:38:49 -04:00