Commit Graph

35 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
atesteve
be667a4d69 SERVER-89298 Get rid of upgradeBackCompat and downgradeBackCompat binary arguments (#27197)
GitOrigin-RevId: b33f1640c657f40572d1105a3e9e6040f4781ffa
2024-09-25 16:13: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
Aitor Esteve Alvarado
fa9b8d30bc SERVER-83167 SERVER-83266 Incorporate new upgrade procedure in test infrastructure
GitOrigin-RevId: 6c881fd981a65c22645a441ee117e6749b3bdb0c
2023-12-14 18:19:18 +00:00
Matt Broadstone
a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Sara Golemon
e4032fe5c3 SERVER-57369 Disable concurrent authentication 2022-02-24 02:51:46 +00:00
Sara Golemon
5ef956df50 SERVER-57328 Make ReplSetTest.upgradeSet() tolerant of reelections 2021-06-03 19:13:54 +00:00
Max Hirschhorn
1ab98f5e38 SERVER-56937 Restore authentication state before upgrading primary. 2021-05-14 19:28:56 +00:00
Alex Taskov
554fab0be3 SERVER-53029 Port the changes for SERVER-52955 to later branches 2020-11-26 00:35:44 +00:00
Tommaso Tocci
478bf480eb SERVER-48170 Multiversion tests assume primary stability when using upgradeCluster() with 2-node replica set shards 2020-10-02 14:19:44 +00:00
Tommaso Tocci
49e617b554 Revert "SERVER-48170 Multiversion tests assume primary stability when using upgradeCluster() with 2-node replica set shards"
This reverts commit 8be28ffc90.
2020-10-02 10:37:45 +00:00
Tommaso Tocci
8be28ffc90 SERVER-48170 Multiversion tests assume primary stability when using upgradeCluster() with 2-node replica set shards 2020-10-02 08:48:52 +00:00
Pavi Vetriselvan
e1daee88b3 SERVER-49996 Ensure getSiblingDB() is used instead of getSisterDB() 2020-08-17 16:11:37 +00:00
Jason Chan
1c28b3cf02 SERVER-49064 Update references of "last-stable" to use "last-continuous" and "last-lts" 2020-07-23 12:26:49 +00:00
Bernard Gorman
085ffeb310 SERVER-25023 Allow multiple indexes on the same fields with different partial index filters 2020-04-25 20:23:43 +00:00
Alex Cameron
d2a8b439fa SERVER-47126 Clean dbpath when downgrading arbiters in multiversion tests 2020-04-01 06:16:01 +00:00
A. Jesse Jiryu Davis
ef959bbc8e SERVER-46089 Test downgrade with arbiter 2020-03-10 02:37:48 +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
Spencer T Brody
8dc995ebef SERVER-33251 Retry stepdown in multi_rs.js 2018-02-15 17:19:07 -05:00
ADAM David Alan Martin
29769e9514 SERVER-31827 Wait for Secondary after stepdown.
The primary being told to step down will kill all incoming connections
during that stepdown process.  When this happens, connections which
are incoming may be closed before they can enter a state which
"reserves" them from closure.  To facilitate correct semantics in this
test, we should wait for the primary to completely step down to a
secondary, before trying to authenticate to it again.
2017-11-03 17:25:02 -04:00
Spencer T Brody
765d5393f6 SERVER-28487 call awaitNodesAgreeOnPrimary in upgradePrimary helper in multi_rs.js 2017-05-04 17:46:39 -04:00
Benety Goh
53907c0094 SERVER-28815 multi_rs.js steps down primary without {force: true} 2017-04-19 18:51:56 -04:00
Spencer Jackson
47da0b53f9 SERVER-26952: Cache SCRAM-SHA-1 ClientKey 2017-02-02 17:48:07 -05:00
Robert Guo
b2bca3948f SERVER-27107 remove or modify tests unrelated to the 3.4->3.6 upgrade path 2016-12-14 11:26:18 -05:00
Eric Milkie
ebf68ba092 SERVER-23148 patch multi_rs.js to ensure replSetMaintenance command succeeds 2016-03-15 16:26:07 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Randolph Tan
db982c182c SERVER-17348 Bump mongos upgrade version for v3.2 2015-03-17 13:39:15 -04:00
Randolph Tan
77562fbd1b SERVER-17348 Consolidate ReplSetTest.upgradeSet
Also removed zero_vote_aribter multiVersion tests.
2015-03-13 13:31:52 -04:00
A. Jesse Jiryu Davis
3ebd970fb8 SERVER-13627 Test that replSetReconfig prohibits 0-vote arbiter.
This re-applies commit 6eccc037b1 with a fix
for occasional failures of zero_vote_arbiter.js:

    Don't assume that the first member started is always the primary.

Closes #856

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-11-12 14:38:27 -05:00
Eric Milkie
6d0405b1d9 Revert "SERVER-13627 Test that replSetReconfig prohibits 0-vote arbiter."
This reverts commit 6eccc037b1.
2014-11-04 18:32:20 -05:00
A. Jesse Jiryu Davis
6eccc037b1 SERVER-13627 Test that replSetReconfig prohibits 0-vote arbiter.
Closes #856

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-11-04 12:31:42 -05:00
Valeri Karpov
3e6d6e56c0 SERVER-12140 add some auth-related options to jstests multi_rs library
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
2013-12-20 14:23:55 -05:00
Greg Studer
b88ce8e3a6 Tests for replica set and cluster upgrade 2012-07-30 14:53:53 -04:00