Commit Graph

79 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
Matt Broadstone 771dabd098 SERVER-81339 Convert ReplSetTest and ShardingTest to modules (#26332)
GitOrigin-RevId: 744aa110a53786b23c62ff53f87a1418b5991e8d
2024-08-20 22:00:49 +00:00
Matt Broadstone a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Matt Broadstone 43b8732430 SERVER-74787 Prepare jstest corpus for implicit strict mode 2023-05-07 16:55:23 +00:00
Varun Ravichandran 946cecc98d SERVER-70701: Allow AuthorizationSession to enforce expiration times 2022-12-16 23:29:04 +00:00
Sara Golemon 2fb0045cf4 SERVER-57369 Handle accidental multi-auth attempt in auth1.js 2022-02-28 20:46:50 +00:00
Sara Golemon e4032fe5c3 SERVER-57369 Disable concurrent authentication 2022-02-24 02:51:46 +00:00
Ali Mir 2b5dc35f01 SERVER-50581 Replace setSlaveOk and getSlaveOk occurrences in jstests 2020-09-09 23:29:23 +00:00
Ali Mir 0c2f4ad0b1 SERVER-49993 Update _slaves to _secondaries in replsettest.js 2020-09-04 14:15:35 +00:00
Judah Schvimer 64fcdabe8c SERVER-46541 enable automatic reconfigs for initial sync semantics by default 2020-07-09 22:39:43 +00:00
Judah Schvimer 31db4f3c5a Revert "SERVER-46541 enable automatic reconfigs for initial sync semantics by default"
This reverts commit 76983a1c33.
2020-07-08 14:26:39 +00:00
Judah Schvimer 76983a1c33 SERVER-46541 enable automatic reconfigs for initial sync semantics by default 2020-07-03 01:23:41 +00:00
Samy Lanka d501442a8e SERVER-47339 Add a function that doesn't require authentication for awaiting that nodes agree on a primary in replsettest.js 2020-05-26 21:36:39 +00:00
Jack Mulrow 682f0540c9 SERVER-43469 Remove TODOs listed for SERVER-35447 2020-04-30 20:59:56 +00:00
Jason Chan e0d113ac10 SERVER-44347 Blacklist tests that initiate a replica set through runCommand from multiversion suites 2019-11-07 22:37:42 +00:00
Ben Caimano 7772aaf0ca SERVER-44319 Skip keyfile check in replica_sets/auth1.js on windows 2019-11-05 16:17:45 +00:00
James Wahlin 39c3a5d77b SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with assert.commandWorked() 2019-08-14 13:52:59 +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
Jack Mulrow 8817328f87 SERVER-32064 Requests from the shell should use an implicit session by default 2018-06-13 11:43:45 -04:00
Billy Donahue 85dc8dd191 Revert "Revert "SERVER-34653 don't parse if early auth-checks can reject.""
This reverts commit 7d0ea48dc8.

    no MakeGuard (the lambda might throw)
2018-05-31 18:33:05 -04:00
Louis Williams 7d0ea48dc8 Revert "SERVER-34653 don't parse if early auth-checks can reject."
This reverts commit f2e762dc80.
2018-05-25 12:57:13 -04:00
Billy Donahue f2e762dc80 SERVER-34653 don't parse if early auth-checks can reject. 2018-05-25 11:23:23 -04:00
Tess Avitabile 80ae7e58d3 SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes 2018-05-01 09:43:36 -04:00
Kevin Albertson c556e37709 SERVER-25640 terminate running processes in jstests 2018-02-08 09:46:57 -05:00
kvwalker cc41e10c5f SERVER-30923 Increase wtimeouts to ReplSetTest.kDefaultTimeoutMS in all replication jstests 2017-09-18 14:21:49 -04:00
Robert Guo df10adbfe5 SERVER-27549 Print message on intentional server crash. 2017-05-23 15:18:12 -04:00
Esha Maharishi 5b6ca35994 SERVER-22663 Make --shardsvr required for a mongod to be used as a shard 2016-08-12 15:24:05 -04:00
Esha Maharishi d6ab3dabec SERVER-25507 again with fix for backup_restore.js 2016-08-12 15:21:42 -04:00
Esha Maharishi 4e682143bc Revert "SERVER-25507 use node's existing options if restart flag passed to ReplSetTest's start()"
This reverts commit c31b1f0758.
2016-08-11 21:37:26 -04:00
Esha Maharishi 62ae8e4141 Revert "SERVER-22663 Make --shardsvr required for a mongod to be used as a shard"
This reverts commit d1223a8ad4.
2016-08-11 21:36:54 -04:00
Esha Maharishi d1223a8ad4 SERVER-22663 Make --shardsvr required for a mongod to be used as a shard 2016-08-11 21:07:39 -04:00
Esha Maharishi c31b1f0758 SERVER-25507 use node's existing options if restart flag passed to ReplSetTest's start() 2016-08-11 18:16:28 -04:00
Scott Hernandez 147bb01a0a re-enable replsets/auth1.js test 2016-07-15 14:58:47 -04:00
Judah Schvimer a48d9ea76f SERVER-24293 Add tasks on evergreen to run tests with both old and new initial sync code 2016-07-11 15:55:22 -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 f768da59c3 SERVER-22341 fix jslint errors in jstests/replsets with eslint --fix 2016-02-05 15:00:51 -05:00
Jonathan Abrahams d567e1f7f5 SERVER-21964 Remove startPort option from ReplSetTest options in jstests/replsets/auth1.js 2016-01-04 15:58:13 -05:00
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