Commit Graph

49 Commits

Author SHA1 Message Date
Steve McClure 1ffbc6c2e9 SERVER-109432: Autofix JS var usage to favor let (#40637)
GitOrigin-RevId: 9674b7db36a0f3f650d39c1e3fb2ad6ff2141cfb
2025-08-28 19:21:01 +00:00
Zac 591928c619 SERVER-108478 JS formatted by prettier and remove clang-format (#39656)
GitOrigin-RevId: 6c8f6aded47f260aa4f7c231b17dae3302cb1e04
2025-08-21 17:27:09 +00:00
kshitij 46fec6e0db SERVER-95434: Remove shardOptions from shardingtest.js. (#28068)
GitOrigin-RevId: 1a6e80f2083120e3ae09e8d57694e730f2375f94
2024-10-22 18:29:27 +00:00
Matt Broadstone 771dabd098 SERVER-81339 Convert ReplSetTest and ShardingTest to modules (#26332)
GitOrigin-RevId: 744aa110a53786b23c62ff53f87a1418b5991e8d
2024-08-20 22:00:49 +00:00
W. Brad Moore 3cbd53553c SERVER-84397: Use proper SSL options in tests
GitOrigin-RevId: 2ceb3b5faa6e0038e0f6d2f4326241b735b83535
2024-02-01 15:32:18 +00:00
Matt Broadstone a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Spencer Jackson 4e1b87708d SERVER-78791 Fix use of undefined variables in x509_client.js 2023-07-20 20:09:38 +00:00
Matt Broadstone 43b8732430 SERVER-74787 Prepare jstest corpus for implicit strict mode 2023-05-07 16:55:23 +00:00
Adam Rayner 2ef48c1f09 SERVER-67886: Log metrics around authentication protocols 2022-12-08 01:10:06 +00:00
Ivan Fefer a7cda0d9cf SERVER-68871 Remove 'isJsonLogNoConn()' and 'isJsonLog()' functions because they always return true. Refactor the callers. 2022-09-07 10:51:15 +00:00
Sara Golemon 93fc544da4 SERVER-59970 Fix reply value from authenticate command 2021-10-19 21:16:38 +00:00
Ben Caimano 5a76da986d SERVER-54136 Make the authenticate command respect enforceUserClusterSeparation 2021-02-18 17:01:33 +00:00
Ben Caimano 2528259508 SERVER-52862 Move logAuthentication hooks to AuthenticationSession 2021-02-17 22:02:47 +00:00
Amirsaman Memaripour 0bd81777cb SERVER-51489 Add client IP to slow query log lines in server logs 2020-11-25 23:43:40 +00:00
Spencer Jackson 2973992735 SERVER-45938 Create override for createUser to allow possible cluster members 2020-09-02 00:20:03 +00:00
Sara Golemon 2e46c85d9e SERVER-48084 Lint log lines in mongo/db/commands 2020-05-13 19:19:45 +00:00
Mark Benvenuto f5e1ac9ee7 SERVER-46385 Complete TODO listed in SERVER-46018 2020-02-28 18:11:34 +00:00
Henrik Edin 19f7a856c0 SERVER-46026 Fix ssl suite when using JSON logs 2020-02-18 16:53:37 +00:00
Cheahuychou Mao 67302fce7c SERVER-38875 Make tests start shards as replica sets instead of standalones after auth cluster time gossiping fix 2019-10-10 15:42:06 +00:00
Jonathan Reams fae0c3f0fa
SERVER-40841 Re-issue invalid test certificates 2019-05-20 15:59:18 -04:00
Jonathan Reams 0a847ef845
SERVER-39820 Include client IP in log message for successful authentication 2019-03-26 11:11:47 -04:00
Geert Bosch 711c076ef5 SERVER-35715 Remove nopreallocj and smallfiles options from tests 2018-07-05 08:20:56 -04:00
jannaerin da1e0304e8 SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets 2018-03-09 00:40:40 -05:00
Sara Golemon c201eec1cc
SERVER-32974 Enhance createUser/updateUser to support SCRAM-SHA-256 2018-02-15 13:24:05 -05:00
Kevin Albertson c556e37709 SERVER-25640 terminate running processes in jstests 2018-02-08 09:46:57 -05:00
Robert Guo df10adbfe5 SERVER-27549 Print message on intentional server crash. 2017-05-23 15:18:12 -04:00
Robert Guo 32bd5fcc91 SERVER-26503 fix incorrect uses of assert.throws() 2016-10-13 18:07:24 -04:00
Max Hirschhorn 350c0382b1 Revert "SERVER-26503 fix incorrect uses of assert.throws()"
This reverts commit 1126f5411b.
2016-10-11 20:55:50 -04:00
Robert Guo 1126f5411b SERVER-26503 fix incorrect uses of assert.throws() 2016-10-11 16:58:34 -04:00
Hai-Kinh Hoang c267c7ad35 SERVER-25082 Allow x509 authentication without user/subject field 2016-08-17 14:54:58 -04:00
Kaloian Manassiev b6abb408c1 SERVER-24603 Re-enable auth tests in 'sharding_last_stable_mongos'
This change makes auth tests with 3.2 mongos, which need to control the
balancer state to go through a special control mongos instance running
version 3.4.

This reverts commit bfde0ecb1c.
2016-06-20 22:15:57 -04:00
Mark Benvenuto 6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Jonathan Abrahams 4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Mike Grundy 56aa683f83 SERVER-22341 fix jslint errors in jstests/ssl with eslint --fix 2016-02-05 15:00:52 -05:00
Spencer Jackson 5ed5b15d68 SERVER-15459: Check new x509 names against _clusterIdMatch 2015-10-01 10:35:48 -04:00
Charlie Swanson c15f4bb96d SERVER-18272 Update jstests to use allocatePort() instead of hard coding ports 2015-09-09 13:14:48 -04:00
Spencer T Brody 8b75280296 SERVER-17971 Make ShardingTest start single-server config servers as replica sets 2015-04-23 14:30:19 -04:00
Spencer T Brody 7baac52f05 SERVER-17450 Cleanup SSL test infrastructure 2015-04-06 18:19:21 -04:00
Charlie 6d33c3637e Revert "SERVER-17450 Cleanup SSL test infrastructure"
This reverts commit 43e53251a3.
2015-03-24 13:46:51 -04:00
Spencer T Brody 43e53251a3 SERVER-17450 Cleanup SSL test infrastructure 2015-03-24 16:13:30 +01:00
Stuart Larsen 03048e3ab4 SERVER-14516 Brand new testing certificates
New testing certificates generated for MongoDB using x509gen. Test were also updated slightly to accommodate for new subject alternative names and such.

All instances of "sslAllowInvalidCertificates" were removed from src/mongo/shell.

Closes #724

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-07-26 13:22:04 -04:00
Amalia Hawkins 1b4b52a9d4 SERVER-12621 narrow the localhost exception when auth is enabled 2014-05-22 20:29:39 -04:00
Andreas Nilsson 8041835681 SERVER-11375 Change names of sslMode states 2013-11-14 19:55:55 +00:00
Spencer T Brody 49fd6dbb2b SERVER-11555 Replace all occurrences of addUser with createUser in jstests 2013-11-06 17:11:39 -05:00
Andreas Nilsson 11a9388c7d SERVER-10353 Fix for x509_client.js on non-enterprise builds 2013-10-29 17:23:09 -04:00
Andreas Nilsson 97c3a3d2b4 SERVER-10353 Fixed x509_client.js for enterprise builds 2013-10-29 14:31:51 -04:00
Andreas Nilsson bb421d824f SERVER-7961 Adapted x509_client.js to new user document format 2013-10-11 18:24:19 -04:00
Andreas Nilsson 1b3bc8c3d9 SERVER-7961 Fixed comment in jstest/ssl/x509_client.js 2013-10-11 16:35:24 -04:00
Andreas Nilsson fe7933f15f SERVER-7961 Test for x.509 client authentication 2013-10-11 16:28:05 -04:00