Commit Graph

28 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
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
Moustafa Maher 0d97b04197 SERVER-55703 Update getDefaultRWConcern 2021-04-29 23:07:54 +00:00
Pavi Vetriselvan 783e113bbb SERVER-50408 Change NotMaster error name to NotWritablePrimary 2020-09-03 13:19:48 +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
Matthew Russotto c3a72d61dc SERVER-38516 Remove “closeConnectionsOnStepdown” flag and fix tests broken by this 2019-02-12 11:07:46 -05:00
Kevin Albertson c556e37709 SERVER-25640 terminate running processes in jstests 2018-02-08 09:46:57 -05:00
Kevin Albertson 5e28f4a352 SERVER-31335 cmd assertions check write errors 2018-01-11 10:47:49 -05:00
Spencer T Brody 44d011a201 SERVER-28544 Change stepdown command to take global lock in exclusive mode 2017-09-25 16:30:40 -04:00
kvwalker cc41e10c5f SERVER-30923 Increase wtimeouts to ReplSetTest.kDefaultTimeoutMS in all replication jstests 2017-09-18 14:21:49 -04:00
Tess Avitabile f56ae94527 SERVER-28575 Profile entry for update/delete should contain entire raw update/delete 2017-05-23 17:37:13 -04:00
Judah Schvimer 0fef13b45a SERVER-26227 Increase waitForState timeouts in replicaset tests 2016-09-22 09:40:38 -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
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
Benety Goh 5eaf403f36 SERVER-20832 use fail point instead of bridging to control replication in stepdown_long_wait_time.js 2015-10-14 10:30:21 -04:00
Benety Goh e99719a235 Revert "SERVER-20832 use fail point instead of bridging to control replication in stepdown_long_wait_time.js"
This reverts commit cd4a48a490.
2015-10-09 16:32:03 -04:00
Benety Goh cd4a48a490 SERVER-20832 use fail point instead of bridging to control replication in stepdown_long_wait_time.js 2015-10-09 14:22:14 -04:00
Benety Goh 0eb5debef1 SERVER-20761 clean up stepdown_long_wait_time.js - wait for old primary to step down completely before checking for new primary 2015-10-06 10:10:29 -04:00
Max Hirschhorn dd0c8d73aa SERVER-18868 Check the exit code of the parallel shell.
By default the await function returned by startParallelShell() asserts
that the exit code is zero.
2015-06-23 22:22:52 -04:00
matt dannenberg 8b28519a23 SERVER-17079 for stability, have stepdown_long_wait_time.js waitForState of the secondary rather than the primary 2015-01-27 10:45:28 -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
matt dannenberg e8c4f9b33b SERVER-15946 add repro test for replSetStepDown without force argument will fail if secondaries are behind and there is any write load 2014-11-20 14:40:20 -05:00