Commit Graph

37 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
Jiawei Yang f50d53fe08 SERVER-87921 Fix jstests relying on metrics update (#20275)
GitOrigin-RevId: 029ecacf86a4a46697579fb36ebd1b74dba99a3d
2024-03-23 10:56:44 +00:00
Kishore Devireddy bc37655980 SERVER-87106: Update repl.buffer.* to repl.buffer.apply.* in serverStatus (#19736)
GitOrigin-RevId: 4ee868104486988545161ced8c5d005502843eb1
2024-03-15 06:13:13 +00:00
Matt Broadstone a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Moustafa Maher 0d97b04197 SERVER-55703 Update getDefaultRWConcern 2021-04-29 23:07:54 +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
Pavi Vetriselvan b1920ea0a4 SERVER-50409 Change NotMasterNoSlaveOk error name to NotPrimaryNoSecondaryOk 2020-09-03 19:16:09 +00:00
Ali Mir d6fe50035a SERVER-49990 Alias setSlaveOk() and getSlaveOk() shell helpers 2020-08-20 21:14:32 +00:00
XueruiFa f8be36eca7 SERVER-49730: Replace usages of waitForDrainFinish 2020-08-04 15:37:19 +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
Kevin Albertson c556e37709 SERVER-25640 terminate running processes in jstests 2018-02-08 09:46:57 -05:00
Siyuan Zhou 133dbba8f7 SERVER-27861 Make the failover in drain.js more reliable 2017-02-01 16:49:27 -05:00
Siyuan Zhou 953a241f6d SERVER-23663 New primary syncs from chosen node to catch up with timeout
SERVER-23662 Implement "catch-up timeout" configuration variable
2016-08-04 18:10:46 -04:00
Benety Goh 128fdb3672 SERVER-24901 do not use fast count when checking collection size in replset tests 2016-07-07 09:56:37 -04:00
hari devaraj dd7e05dbde SERVER-21432 Allowed slaveOk reads when node is in drain mode 2016-06-17 15:53:36 -04:00
Hari Devaraj d22b461811 SERVER-21375 fixed drain mode error and added recovery test 2016-06-10 10:55:58 -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 c714577f26 SERVER-22914 Make mongos_no_replica_set_refresh obtain config from the primary node
Also gets rid of the getConfigFromPrimary method in place of a more
flexible one.
2016-03-02 09:44:58 -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
Eric Milkie 2ba6eb9c4b SERVER-21396 raise default electionTimeoutMillis to 10 seconds 2015-11-10 17:15:49 -05:00
Scott Hernandez c155fe777a increase election timeout for drain.js 2015-10-23 13:45:07 -04:00
Benety Goh fb06c14476 SERVER-20979 added ReplicationCoordinator::waitForMemberState() and waitForDrainFinish()
also added subcommands to replSetTest to access these functions from JS tests
2015-10-21 21:43:50 -04:00
Kaloian Manassiev 25b498934f SERVER-20646 Get rid of CommonErrorCodes
Replace all usages with the standard ErrorCodes enumeration.
2015-10-13 09:43:40 -04:00
Eric Milkie 5c4b2cb0f8 SERVER-20649 add slaveOk read test coverage for drain mode 2015-10-08 05:27:10 -04:00
Eric Milkie 1aece4e856 Revert "SERVER-20649 add slaveOk read test coverage for drain mode"
This reverts commit 2d5555b6a9.
2015-09-28 16:33:35 -04:00
Eric Milkie 2d5555b6a9 SERVER-20649 add slaveOk read test coverage for drain mode 2015-09-28 14:21:52 -04:00
Benety Goh 5bafa8e066 SERVER-20094 additional assertions on fail point and write operations in replsets/drain.js 2015-08-24 15:45:04 -04:00
Benety Goh 95428be95d SERVER-19307 SyncTail::tryPopAndWaitForMore should not consume buffered operations when rsSyncApplyStop fail point is enabled 2015-07-13 15:46:03 -04: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
matt dannenberg 2b320ff280 minor replsets/drain.js improvement 2014-11-11 10:28:11 -05:00
matt dannenberg d01714904e SERVER-15965 add test for replset drain mode 2014-11-05 05:50:17 -05:00