Commit Graph

31 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
Joshua Siegel 2b478122cb SERVER-95853 Rename this.kDefaultTimeoutMS to this.timeoutMS (#28378)
GitOrigin-RevId: dba78e418316df34f86ec9f4538c5b9bf6466ac2
2024-10-24 18:04:28 +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
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
David Bradford caf6f27ec2 SERVER-33034: Fix tests with bad assertions 2018-02-15 15:23:13 -05:00
Judah Schvimer 62bd1f844e SERVER-28041 remove awaitNodesAgreeOnPrimary() call in sync2.js 2017-02-17 14:35:00 -05:00
Judah Schvimer 8d4e682105 SERVER-27816 increase wtimeout in sync2.js 2017-01-27 10:36:28 -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
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
matt dannenberg 7177f576c7 SERVER-21736 disable sync2.js in the replica_sets_legacy task 2015-12-02 08:15:59 -05:00
Max Hirschhorn ce3e47aed5 SERVER-19301 Expose new MongoBridge API for network partition testing.
Changes the existing architecture of having a mongobridge process for
each unidirection link between two mongod processes in a replica set to
having a single mongobridge process per node in the replica set. The
mongobridge process is able to distinguish between connections from
different hosts by using the "hostInfo" field in the initial isMaster
command request.
2015-11-06 13:40:59 -05:00
matt dannenberg 197ea2a625 SERVER-18584 write an n-op when transition to primary is complete 2015-08-05 04:17:46 -04:00
matt dannenberg 7cc768b403 SERVER-15028 prevent sync2.js from attempting an insert on an incorrect primary node 2014-08-25 09:26:27 -04:00
Eric Milkie 243e7efa12 Revert "SERVER-14755 increase ReplSetTest timeouts to prevent spurious failures while using HybridCoordinator"
This reverts commit 9ec7d68a97.
2014-08-01 11:31:32 -04:00
matt dannenberg 9ec7d68a97 SERVER-14755 increase ReplSetTest timeouts to prevent spurious failures while using HybridCoordinator 2014-07-31 12:52:42 -04:00
matt dannenberg 0779e3a8ed SERVER-13839 circumvent reconfig in sync2.js 2014-05-06 06:25:33 -04:00
Randolph Tan eb41492c6f SERVER-13190 migrate replset jstest suite to use write commands api 2014-03-14 12:05:05 -04:00
matt dannenberg 27c4e7fbd2 Revert "Revert "SERVER-6071 use command on local.slaves instead of cursor""
This reverts commit 6486b4035c.
2013-07-22 10:43:40 -04:00
Mathias Stearn 85cc36126c Remove unnecessary and broken portion of test
Fixes SERVER-10153
2013-07-12 15:38:40 -04:00
Eric Milkie 6486b4035c Revert "SERVER-6071 use command on local.slaves instead of cursor"
This reverts commit 2267744af0.

Revert "SERVER-6071 correct assert code"

This reverts commit 85ca38c33e.

Conflicts:
	src/mongo/db/repl/sync_source_feedback.cpp

Revert "SERVER-6071 use command on local.slaves instead of cursor"

This reverts commit 83ecb9775b.

Conflicts:
	src/mongo/db/repl/replset_commands.cpp
	src/mongo/db/repl/sync_source_feedback.cpp
2013-07-12 15:14:09 -04:00
Matt Dannenberg 83ecb9775b SERVER-6071 use command on local.slaves instead of cursor 2013-06-29 22:32:38 -04:00
Spencer T Brody e0d99898b2 Try to make jstests/replsets/sync2.js more robust and add logging 2013-01-23 11:15:12 -05:00
Kristina 116af887d4 SERVER-7562 Query sync target with OpTime, not date 2012-11-06 11:35:11 -05:00
Eric Milkie 2296977782 stop replica sets at the end of tests so that Windows is happy 2012-02-16 17:14:49 -05:00
Kristina a6fe375df5 fix test: force node 0 to be master 2011-05-12 13:18:16 -04:00
Kristina 115a795e99 op passthrough for w SERVER-992 2011-05-10 19:15:58 -04:00