Commit Graph

35 Commits

Author SHA1 Message Date
Matt Broadstone
771dabd098 SERVER-81339 Convert ReplSetTest and ShardingTest to modules (#26332)
GitOrigin-RevId: 744aa110a53786b23c62ff53f87a1418b5991e8d
2024-08-20 22:00:49 +00:00
Sara Golemon
e4032fe5c3 SERVER-57369 Disable concurrent authentication 2022-02-24 02:51:46 +00:00
Rishab Joshi
4329ffafa3 SERVER-50442 Remove ensureIndex shell function
This commit replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell""
2020-11-17 14:23:10 +00:00
Arun Banala
7c196029e8 Revert "SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell"
This reverts commit e69c967ff8.
2020-11-12 18:15:38 +00:00
Rishab Joshi
e69c967ff8 SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell 2020-11-12 10:38:50 +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
clang-format-7.0.1
134a408395 SERVER-41772 Apply clang-format 7.0.1 to the codebase 2019-07-27 11:02:23 -04:00
Daniel Gottlieb
21bbb74e8c SERVER-36015: Fix lint. 2018-08-29 21:33:53 -04:00
Dianna Hohensee
4cb0742947 SERVER-36015 Remove references to system.namespaces and system.indexes 2018-08-29 16:47:09 -04:00
Jack Mulrow
8817328f87 SERVER-32064 Requests from the shell should use an implicit session by default 2018-06-13 11:43:45 -04:00
jannaerin
b5ef3780e6 SERVER-33882 Add requires_sharding tag to sharding tests 2018-03-14 17:46:39 -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
d75b113186 SERVER-28260 Check coauth for killCursors and add killAnyCursors 2017-11-30 14:43:49 -05:00
Robert Guo
df10adbfe5 SERVER-27549 Print message on intentional server crash. 2017-05-23 15:18:12 -04:00
Eddie Louie
2569b254a5 SERVER-23728 Enable the no-unused-expressions ESLint rule 2017-04-05 18:40:37 -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
Adam Midvidy
1991daaff1 SERVER-7775 add currentOp command 2015-04-13 10:14:12 -04:00
Adam Midvidy
d6cd29d1fc SERVER-7775 add killOp command 2015-04-06 18:49:59 -04:00
Adam Midvidy
8a805598bb SERVER-7775 refactor fsyncUnlock to execute through standard command path 2015-03-26 14:20:38 -04:00
Veres Lajos
a98f839cf9 SERVER-9634 typo fixes
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
2014-06-09 23:43:00 -04:00
Amalia Hawkins
1b4b52a9d4 SERVER-12621 narrow the localhost exception when auth is enabled 2014-05-22 20:29:39 -04: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
386f1b32ba SERVER-13191 migrate auth jstest suite to use write commands api 2014-03-26 15:34:37 -04:00
Spencer T Brody
030988fb8e SERVER-10151 Re-enable the 'Test change role' section of auth/basic_role_auth.js by using the updateUser command 2013-11-18 16:12:40 -05:00
Spencer T Brody
490ffed0e9 Make sure cluster roles have access to system collections in config db 2013-11-08 14:12:21 -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
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
ee7ea7ea7f SERVER-6246 SERVER-9515 Update usersInfo and rolesInfo commands to new API 2013-10-06 17:19:23 -04:00
Spencer T Brody
1fde472858 SERVER-6246 SERVER-9515 Rename removeUser and removeRole commands to dropUser/dropRole 2013-10-06 12:02:45 -04:00
Andy Schwerin
3bc344db79 SERVER-1105 Update AuthorizationSession's logic for collection-level access control.
Also requires changing the privileges of the built-in roles.  This patch takes the opportunity to remove the 2.2-style read-only roles in favor of the 2.4-style "read" and "readAnyDatabase" roles, and renames the 2.2-style read-write roles "dbOwner" and "root".  The "root" name, at least, is subject to change prior to the next unstable release.

Test harnesses are updated as needed to use the correct builtin roles.
2013-09-26 14:33:43 -04:00
Spencer T Brody
ec23a4a358 SERVER-9517 Update tests to pass with new user schema 2013-09-06 12:31:22 -04:00
Spencer T Brody
211099e4bb SERVER-6246 Restrict direct removes from system.users, add a shell helper to use the removeUser command, and update tests to use the helper 2013-08-01 14:12:09 -04:00
Spencer T Brody
b85f738ceb SERVER-6246 Forbid direct inserts and updates to system.users collections when auth is enabled 2013-07-17 15:12:37 -04:00
Randolph Tan
5263d2a1a0 SERVER-9233 Add jstests for role-based access control 2013-04-09 10:50:22 -04:00