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
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
Gregory Noma 72b28b1d5a SERVER-65967 Remove `incompatible_with_eft` tag 2022-04-29 15:02:23 +00:00
Jon Streets 05a0f8e98b SERVER-56366 Update FCV constants to recognize 5.1 as latest 2021-07-23 15:49:23 +00:00
Shreyas Kalyan 1c2ae5a220 SERVER-55963 Use "denylist" in replication subsystems 2021-04-30 17:12:57 +00:00
Ali Mir 93cff71bfc SERVER-50651 Replace occurrences of isMaster command with hello in replsets jstests 2020-09-28 18:05:55 +00:00
Lingzhi Deng 14ef67e5d0 SERVER-50099: Update requires_fcv_46 and need_fixing_for_46 to 47 2020-08-05 16:27:25 +00:00
Lingzhi Deng 475078ffd9 SERVER-49783: Update latest FCV to 4.7 2020-08-02 05:39:29 +00:00
Henrik Edin 00fbc98164 SERVER-38987 Replace ephemeralForTest storage engine with biggie implementation
ephemeralForTest is now a document level locking engine
unittests instantiate the oplog as it is required with doc-level locking engines

Added a 'incompatible_with_eft' tag for tests that don't work with this engine for different reasons.
Many concurrency suites are disabled due to excessive memory usage
2020-07-17 15:52:43 +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
William Schultz b52c7b320b SERVER-45575 Add Javascript helper function to do automatic safe reconfigs 2020-03-24 21:38:41 +00:00
Jack Mulrow 84ca21e55e SERVER-20844 Start ReplSetTests faster wrt initial election 2017-01-23 13:25:30 -05: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
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
Eric Milkie ce9b498f3a SERVER-21292 update remove1.js to use newer testing paradigms 2015-11-04 16:45:22 -05:00
matt dannenberg b25a1fb514 SERVER-21237 fix remove1.js to handle failover that occurs in pv0 2015-11-03 11:29:47 -05:00
matt dannenberg 42d0577042 SERVER-21237 fix ReplSetTest.prototype.awaitReplication to use getReplSetStatus rather than query the oplog directly 2015-11-02 14:29:21 -05:00
matt dannenberg d789bca4c9 SERVER-18498 New replica set configurations have protocolVersion=1 by default
This re-adds Siyuan's work from commits 19d2885ec5 and 362aac3937.
2015-10-01 08:00:10 -04:00
Jason Rassi 19d2885ec5 Revert "SERVER-18498 New replica set configurations have protocolVersion=1 by default"
This reverts commit 2c1facf471.
2015-09-24 11:16:32 -04:00
Siyuan Zhou 2c1facf471 SERVER-18498 New replica set configurations have protocolVersion=1 by default 2015-09-23 14:50:56 -04:00
Spencer T Brody 1bb29da08f SERVER-15655 Fix remove1.js test 2014-11-03 12:52:28 -05:00
Spencer T Brody 0bb7d05719 SERVER-15868 SERVER-15655 Better handling of receiving an invalid config via a heartbeat 2014-10-31 11:24:58 -04:00
Andy Schwerin 2d3bac6ff5 SERVER-15535 On force reconfig, bump the supplied config version by a large-ish random number.
This is for consistency with the legacy implementation, and to increase the
likelihood that if several nodes take force reconfigs, the nodes recognize them
to be different configurations, and choose one as the winner.
2014-10-13 14:41:35 -04:00
Kristina b4be8b421a SERVER-8677 Remove race condition in test 2013-02-22 15:48:24 -05:00
Tad Marshall 4adc117fbc SERVER-5548 Relax timing in remove1.js
It seems to take almost exactly 30 seconds to cycle a primary
up or down on the 32-bit Windows buildbot and the test times
out after 30 seconds so this is too flaky.  Change the timeout
from 30 seconds to 60 seconds to buy some breathing room.  Also,
the comments and messages displayed by this test weren't aligned
with changes that had been made to it, making the log hard to
follow: fix up the comments and log messages to match what the
test is actually doing.
2012-04-09 15:00:12 -04:00
Kristina 4060d82d79 Close connections when a replica set member is removed SERVER-4501 2011-12-20 12:05:38 -05:00
Kristina d54ce5475c fix remove test race condition 2011-07-25 19:03:56 -04:00
Kristina aa4edc53fb force reconfig SERVER-2182 2011-06-14 16:22:51 -04:00
Kristina 759e1e646d allow members to stay gracefully alive when removed from a set 2011-06-14 16:05:44 -04:00
Kristina d5f7ca3acc fix remove test 2011-05-31 10:33:33 -04:00
Kristina 37e173b698 fix race condition in test 2011-05-10 17:32:20 -04:00
Kristina 0c5c2b49d2 fix test 2011-05-06 16:04:43 -04:00
Kristina ecdef30666 don't allow switching from localhost to hostname 2011-05-06 10:43:45 -04:00
Eliot Horowitz 336a1db691 better debugging 2011-04-27 00:09:07 -04:00
Kristina c889977329 rs test fixes 2011-04-21 11:19:55 -04:00
Kristina 100af667b2 simplify rs test 2011-04-07 12:08:09 -04:00
Kristina 0e2ef15e9c debugging tests 2011-04-06 17:58:56 -04:00
Kristina Chodorow 7cc92cce74 test debugging 2010-11-18 13:05:02 -05:00
Kristina Chodorow 8e4acff269 fix tests 2010-11-18 09:56:21 -05:00
Kristina Chodorow 8a0def48bb shutdown server when removed from replica set SERVER-1871 2010-11-17 18:44:32 -05:00