Commit Graph

27 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
Pierlauro Sciarelli ce28e79ede SERVER-81293 Get rid of `ensurePrimaryShard` helper 2023-09-28 09:24:01 +00:00
Matt Broadstone a4f458fe4d SERVER-79735 Convert jstest corpus to use es modules 2023-08-06 20:48:04 +00:00
Janna Golden f21fbad4a6 SERVER-31238 Add awaitLastOpTimeCommitted between split and move chunk commands in multi_mongos2.js 2019-10-22 15:18:43 +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
Blake Oler bfe2e00fab SERVER-41777 Call awaitLastOpCommitted() in test with stale mongos 2019-07-16 11:39:55 -04:00
Kaloian Manassiev b9e20190b6 SERVER-32198 Make ShardedConnectionInfo::getVersion return boost::optional
This allows the logic for making the shard version decision to be
concentrated in CollectionShardingState entirely.
2018-03-09 17:18:49 -05:00
jannaerin da1e0304e8 SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets 2018-03-09 00:40:40 -05:00
Kaloian Manassiev 2176ab6429 SERVER-30614 Add writeOK checks to JS test writes in missing_key.js 2017-08-14 15:27:45 -04:00
Mark Benvenuto 6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Dianna Hohensee 8f2a87e78d SERVER-24105 disable balancer in multi_mongos2.js that does nothing. 2016-05-09 14:46:51 -04:00
Jonathan Abrahams 4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Dianna Hohensee 66746f4654 SERVER-22870 rename getServerName and getServer 2016-02-26 17:10:54 -05:00
Mike Grundy fb46f01127 SERVER-22341 fix jslint errors in jstests/sharding with eslint --fix 2016-02-09 14:46:30 -05:00
Dianna Hohensee 920d38ceb0 SERVER-22081 blacklisting tests from the continuous config stepdown suite that do direct writes (with no retries) against config/admin databases 2016-01-15 16:18:05 -05:00
Kaloian Manassiev 38e5c4febb SERVER-21009 Get rid of some unused/unnecessary methods in ShardingTest
Removes shardGo in lieu of shardColl and removes setBalancer because it
duplicates functionality, which is already in sh.
2015-10-27 08:24:24 -04:00
Kaloian Manassiev 3db9d1338c SERVER-21009 Remove usages of the multi-argument ShardingTest constructor
No functional changes, just converting everything to use the JSON-based
constructor.

Also moves some sharding-specific tests out of noPassthroughWithMongod and
under the sharding suite.
2015-10-23 09:50:35 -04:00
Randolph Tan 280fbae904 SERVER-18044 Make sharding test explicitly set primary shards for databases 2015-05-15 10:11:31 -04:00
Randolph Tan 5ca1021ab6 SERVER-13402 bulk insert can result in too large chunks 2014-04-21 11:43:55 -04:00
gregs 5d78616641 buildbot multi_mongos2.js balancer now moves small #s of chunks, need to disable for error-free manual moves after sharding 2012-01-02 15:43:18 -05:00
Eliot Horowitz 096e570a64 fix moveChunk on new mongos SERVER-2828 2011-05-19 17:48:33 -04:00
Eliot Horowitz ea1a8f4c29 throw StaleConfigException for passthrough command failure with stale config SERVER-2828 2011-05-19 17:43:24 -04:00
Eliot Horowitz a9924101a7 put all connections that are assigned to ShardConnection into sharded state immediately on creation SERVER-2828 2011-05-19 14:49:38 -04:00
Eliot Horowitz 30d7a2645b separate test for SERVER-2828 2011-03-31 03:04:12 -04:00