Commit Graph

36 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
Moustafa Maher
6849b3ff14 SERVER-96971 Prevent ReplSetTest.waitForState from returning stale data for SECONDARY state (#29585)
GitOrigin-RevId: 9d38b94afbd94ff5dffa63b7ec487ea54fa4a98d
2024-12-05 21:15:14 +00:00
Joshua Siegel
2b478122cb SERVER-95853 Rename this.kDefaultTimeoutMS to this.timeoutMS (#28378)
GitOrigin-RevId: dba78e418316df34f86ec9f4538c5b9bf6466ac2
2024-10-24 18:04:28 +00:00
Moustafa Maher
2fd5f78d5a SERVER-95421 make initiateWithHighElectionTimeout the default in ReplSetTest (#28174)
GitOrigin-RevId: df168ee363c3f0e86526270437d3688ac4bb326d
2024-10-22 02:53:25 +00:00
auto-revert-app[bot]
ac66db99e1 Revert "SERVER-95421 make initiateWithHighElectionTimeout the default in ReplSetTest (#27947)" (#28132)
GitOrigin-RevId: de1b147732fb34b89450da992fe559b24d32f1e2
2024-10-16 09:01:25 +00:00
Moustafa Maher
ba308e1391 SERVER-95421 make initiateWithHighElectionTimeout the default in ReplSetTest (#27947)
GitOrigin-RevId: f73cbfbbdc6a2c557bed145cdb429c3a8d8b3447
2024-10-15 13:24:11 +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
Ali Mir
6831f81b2b SERVER-51282 Replace all remaining reference to master slave terminology in jstests 2020-10-13 21:19:55 +00:00
A. Jesse Jiryu Davis
b526ac445b SERVER-44503 Fix race in replsets/auth2.js 2019-11-12 12:57:29 +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
William Schultz
3944af0d50 SERVER-31658 Wait for state SECONDARY instead of RECOVERING in replsets/auth2.js 2017-10-20 17:35:39 -04:00
Max Hirschhorn
0ed1b71a50 SERVER-31456 Set initial{Cluster,Operation}Time in concurrency suite.
Ensures that the FSM worker threads are guaranteed to observe the
effects of the $config.setup() function being called since they'll
specify an afterClusterTime beyond that point.
2017-10-14 21:54:02 -04:00
Misha Tyulenev
eeee1e2b64 SERVER-30977 add clusterTime to standalone replica set 2017-09-27 23:23:46 -04:00
Spencer T Brody
67aaaf319b SERVER-30835 Increase wtimeout in auth2.js test 2017-08-25 13:24:27 -04:00
Benety Goh
0501d9eedc SERVER-28376 fixed replsets/auth2.js to not clobber global 'rs' variable. 2017-03-28 21:57:25 -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
Kaloian Manassiev
20cd3a392e SERVER-21050 Introduce ReplSetTest.State enumeration everywhere
Makes all JS tests access the replica set member state from the class
itself instead of the object instance. Also removes some unused code.
2015-12-11 13:21:22 -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
Eric Milkie
5598c216ca SERVER-16391 archor primary in replset tests, or make agnostic to primary node 2014-12-03 12:58:24 -05:00
Eric Milkie
fdb0c2b3b6 SERVER-16306 fix primary to node 0 in auth2.js 2014-11-24 17:15:41 -05:00
Scott Hernandez
87be645d9a SERVER-15098: funnel all auth errors to the correct status/checks 2014-10-14 09:44:43 -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
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
Spencer T Brody
7c6ad5669d Add debugging output to test to understand failure. SERVER-5948 2012-05-28 20:22:56 -04:00
Greg Studer
847b343fa5 SERVER-5876 buildbot auth.js + others - make sure we wait for replication of users added for security 2012-05-21 15:34:58 -04:00
Eric Milkie
cf0b0b38f4 SERVER-5024 disable more tests for Windows 2012-02-21 13:30:25 -05:00
Eliot Horowitz
c3f882cae9 fix test for when sockets close 2011-12-03 00:13:18 -05:00
Kristina
d21c163de2 Make secondaries go into recovering state when auth is wrong SERVER-3715 2011-10-05 16:56:06 -04:00