Commit Graph

44 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
Santiago Roche
876f66eb13 SERVER-92024: Only provide JS_GC_ZEAL setting for mongo server processes. (#24954)
GitOrigin-RevId: 88dd3ef2b4325ca332b8e7e6180f1e8f9c7534ea
2024-09-06 19:58:23 +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
Enrico Golfieri
ab590f6f68 SERVER-70396 remove "featureFlagCheckMetadataConsistency" for PM-3020 (#16665)
GitOrigin-RevId: 6f8b88adb0d1b896f9728523211322eff632ed99
2024-02-14 13:16:58 +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
Matt Broadstone
43b8732430 SERVER-74787 Prepare jstest corpus for implicit strict mode 2023-05-07 16:55:23 +00:00
Jack Mulrow
e3e4b4d6a5 SERVER-76310 Use config shard terminology instead of catalog shard 2023-04-24 01:33:22 +00:00
Jack Mulrow
8ebd13ecae SERVER-74276 Add catalog shard sharding suites 2023-03-01 04:23:59 +00:00
Jordi Serra Torrens
c82eaeff37 SERVER-71690 Implement a new sharding hook to verify the sharding filtering metadata 2023-01-18 11:29:34 +00:00
Marcos José Grillo Ramirez
e5c7116913 SERVER-58315 Change jstests to not use standalone nodes as shards nor config server 2021-07-07 16:12:35 +00:00
Marcos José Grillo Ramirez
4a20641fe7 Revert "SERVER-32531 Disalow standalone nodes as shards if no queryableBackupMode is enabled"
This reverts commit 92a0de6ce7.
2021-07-07 12:17:09 +00:00
Marcos José Grillo Ramirez
92a0de6ce7 SERVER-32531 Disalow standalone nodes as shards if no queryableBackupMode is enabled 2021-07-02 17:10:37 +00:00
Randolph Tan
55005a1d4a SERVER-42191 Add a new test hook that checks that all orphaned documents are eventually deleted 2020-02-10 19:42:41 +00:00
William Schultz
134a81cad1 Revert "SERVER-42191 Add a new test hook that checks that all orphaned documents are eventually deleted"
This reverts commit c51a36a187.

 delete mode 100644 jstests/libs/override_methods/check_orphans_are_deleted.js
2020-02-05 22:53:39 +00:00
Randolph Tan
c51a36a187 SERVER-42191 Add a new test hook that checks that all orphaned documents are eventually deleted
create mode 100644 jstests/libs/override_methods/check_orphans_are_deleted.js
2020-02-05 19:31:07 +00:00
Cheahuychou Mao
f3595d8e69 SERVER-44917 Add ShardingTest hook to validate indexes are consistent across shards on shutdown 2019-12-20 03:06:46 +00:00
Cheahuychou Mao
67302fce7c SERVER-38875 Make tests start shards as replica sets instead of standalones after auth cluster time gossiping fix 2019-10-10 15:42:06 +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
Maria van Keulen
88a8b7b31c SERVER-36257 Remove copyDB and clone commands 2018-08-07 14:26:55 -04:00
jannaerin
da1e0304e8 SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets 2018-03-09 00:40:40 -05:00
Esha Maharishi
62fe0f89e9 SERVER-30511 call checkUUIDsConsistentAcrossCluster() before shutting down a ShardingTest 2017-09-25 11:27:23 -04:00
Robert Guo
df10adbfe5 SERVER-27549 Print message on intentional server crash. 2017-05-23 15:18:12 -04:00
Esha Maharishi
2d3d3d3a92 SERVER-25910 fail setShardVersion on mongod if not running with --shardsvr 2016-09-07 23:03:50 -04:00
Kaloian Manassiev
b6abb408c1 SERVER-24603 Re-enable auth tests in 'sharding_last_stable_mongos'
This change makes auth tests with 3.2 mongos, which need to control the
balancer state to go through a special control mongos instance running
version 3.4.

This reverts commit bfde0ecb1c.
2016-06-20 22:15:57 -04:00
Mark Benvenuto
6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Kaloian Manassiev
29ff4c8033 SERVER-23733 Tests should not write chunkSize to config.settings directly
Instead, they should pass it as parameter to ShardingTest.

This change is in preparation for removing the chunkSize parameter to
mongos.
2016-05-04 16:09:10 -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
fb46f01127 SERVER-22341 fix jslint errors in jstests/sharding with eslint --fix 2016-02-09 14:46:30 -05:00
Daniel Alabi
70ad0ad1cf SERVER-19085 Add new suite for running 3-node legacy config servers 2015-07-02 15:07:30 -04:00
Randolph Tan
280fbae904 SERVER-18044 Make sharding test explicitly set primary shards for databases 2015-05-15 10:11:31 -04:00
Spencer T Brody
8b75280296 SERVER-17971 Make ShardingTest start single-server config servers as replica sets 2015-04-23 14:30:19 -04:00
Spencer T Brody
7c1ad90880 SERVER-17971 Remove separateConfig option from ShardingTest and make its behavior the default 2015-04-14 13:53:47 -04:00
Jonathan
d5522fbaa3 SERVER-14652 update tests for localhost exception
Closes #721

Signed-off-by: Benety Goh <benety@mongodb.com>
2014-07-25 00:43:55 -04:00
Amalia Hawkins
1b4b52a9d4 SERVER-12621 narrow the localhost exception when auth is enabled 2014-05-22 20:29:39 -04:00
Randolph Tan
7acafe85d9 SERVER-13425 migrate sharding jstest suite to use write commands api 2014-04-21 16:53:25 -04:00
Dan Pasette
5402118336 SERVER-12088 Enable usePowerOf2Sizes as server-wide default 2014-01-21 10:09:57 -05:00
Spencer T Brody
49fd6dbb2b SERVER-11555 Replace all occurrences of addUser with createUser in jstests 2013-11-06 17:11:39 -05:00
Spencer T Brody
f0c6cebd73 SERVER-10794 Maintain backwards-compatible form of addUser for one more release 2013-10-11 18:14:12 -04:00
Spencer T Brody
ec23a4a358 SERVER-9517 Update tests to pass with new user schema 2013-09-06 12:31:22 -04:00
Spencer T Brody
331ca28913 SERVER-6591 Fix test 2013-02-11 18:06:33 -05:00
Craig Wilson
ae5f92aec6 SERVER-6591: added tests for bypassing authentication when connected with a localhost to a server that has no admin users. 2013-02-11 12:28:07 -06:00