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
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
Matt Broadstone
43b8732430 SERVER-74787 Prepare jstest corpus for implicit strict mode 2023-05-07 16:55:23 +00:00
Ali Mir
2b5dc35f01 SERVER-50581 Replace setSlaveOk and getSlaveOk occurrences in jstests 2020-09-09 23:29:23 +00:00
Ali Mir
0c2f4ad0b1 SERVER-49993 Update _slaves to _secondaries in replsettest.js 2020-09-04 14:15:35 +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
Tess Avitabile
80ae7e58d3 SERVER-34526 Jstests should not depend on ReplSetTest.liveNodes 2018-05-01 09:43:36 -04:00
kvwalker
cc41e10c5f SERVER-30923 Increase wtimeouts to ReplSetTest.kDefaultTimeoutMS in all replication jstests 2017-09-18 14:21:49 -04:00
Judah Schvimer
e6793022c2 SERVER-25339 increase wtimeout in replset2.js to 60 seconds 2016-07-29 12:51:24 -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
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
Randolph Tan
0dabee8227 SERVER-13741 Migrate remaining tests to use write commands 2014-05-15 14:04:11 -04:00
David Storch
7238072660 Revert "SERVER-13741 Migrate remaining tests to use write commands"
This reverts commit 87dc3ae516.
2014-05-06 19:00:56 -04:00
Randolph Tan
87dc3ae516 SERVER-13741 Migrate remaining tests to use write commands 2014-05-06 16:32:44 -04:00
matt dannenberg
42e199594d SERVER-13203 replset2.js no longer swallows exceptions or assertions 2014-04-04 07:49:29 -04:00
Randolph Tan
eb41492c6f SERVER-13190 migrate replset jstest suite to use write commands api 2014-03-14 12:05:05 -04:00
Eric Milkie
5e2af2d5e1 make test more reliable 2012-06-19 09:47:05 -04:00
dwight
d7a05a90da dur getlasterror wait for group commit via fsync:1 2010-12-13 00:21:08 -05:00
Kyle Banker
f832818fec Merge branch 'master' of github.com:mongodb/mongo 2010-08-26 12:19:08 -04:00
Kyle Banker
d11ec32d5e increase oplog size and better debugging for replset2.js test 2010-08-26 12:13:08 -04:00
Dwight
dd95851093 replset2 was defining a variable twice -might have been harmless, but fixed 2010-08-26 10:28:35 -04:00
Dwight
2f05a4caea replset2 try to fix 2010-08-23 15:03:34 -04:00
Dwight
460bd516ea better error message on corruptioun 2010-08-18 16:46:13 -04:00
Dwight
b9e7b49f71 more logging to see where this test fails 2010-08-18 15:15:26 -04:00
Kyle Banker
4d42a72c3d minor: test cleanup 2010-08-10 13:31:13 -04:00
Eliot Horowitz
dbc11f0fdf fix w= on first batches for fresh slaves SERVER-1520 2010-08-02 17:15:44 -04:00
Kyle Banker
16ff280c3f SERVER-1520 improved getlasterror test 2010-08-02 13:38:01 -04:00
Kyle Banker
5461e05726 minor: test fix 2010-07-30 13:41:41 -04:00
Kyle Banker
e07b71d91b SERVER-1520 getlasterror not returning 2010-07-30 13:10:23 -04:00
Kyle Banker
79d5c94fd7 rs test updates SERVER-1483 2010-07-26 23:11:09 -04:00
Kyle Banker
e94cc361ed SERVER-1479 and replSet js test cleanup 2010-07-26 15:08:04 -04:00