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
d965659e52
SERVER-81559 Fix tests calling enableSharding after implicitly creating a database
2023-09-29 13:39:13 +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
Rishab Joshi
4329ffafa3
SERVER-50442 Remove ensureIndex shell function
...
This commit replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell""
2020-11-17 14:23:10 +00:00
Arun Banala
7c196029e8
Revert "SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell"
...
This reverts commit e69c967ff8 .
2020-11-12 18:15:38 +00:00
Rishab Joshi
e69c967ff8
SERVER-50442 Remove ensureIndex shell function This commit also replaces all the usages of ensureIndex() with createIndex() in JS tests and JS shell
2020-11-12 10:38:50 +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
jannaerin
da1e0304e8
SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets
2018-03-09 00:40:40 -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
Mike Grundy
fb46f01127
SERVER-22341 fix jslint errors in jstests/sharding with eslint --fix
2016-02-09 14:46:30 -05: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
Jason Rassi
59d18d4cac
SERVER-17915 shardCollection shouldn't consider partial index useful
2015-04-28 19:57:37 -04:00
Eliot Horowitz
8aad8474a4
SERVER-13635: update many sharding tests to work with other storage engines
2014-10-11 00:20:10 -04:00
Greg Studer
e88273ac94
SERVER-1424 (re)smoke tag parsing and new test library, v0
...
Includes:
- Smoke.py options for filtering by jstest tags
- New resmoke.py test utility in v0 alpha
- Lots of example resmoke configurations
- SCons integration for unittests
- Sample tagged jstests
2014-09-18 14:37:45 -04:00
Greg Studer
4677734e7a
Revert "SERVER-1424 (re)smoke tag parsing and new test library, v0"
...
This reverts commit fac5571f67 .
2014-09-15 19:42:10 -04:00
Greg Studer
fac5571f67
SERVER-1424 (re)smoke tag parsing and new test library, v0
...
Includes:
- Smoke.py options for filtering by jstest tags
- New resmoke.py test utility in v0 alpha
- Lots of example resmoke configurations
- SCons integration for unittests
- Sample tagged jstests
2014-09-15 19:05:15 -04:00
Randolph Tan
7acafe85d9
SERVER-13425 migrate sharding jstest suite to use write commands api
2014-04-21 16:53:25 -04:00
Greg Studer
331e3dc9c0
SERVER-10175 buildbot v2.4 index1.js failure run GLE after inserts to make sure they went through
2013-07-11 11:24:24 -04:00
Kevin Matulef
532a051330
SERVER-2001 change shard key validation to allow hashed shard keys
...
This changes the top-level shard key validation to allow shard keys
such as {a : "hashed"}. It also adds some helper functions for
determining when a unique index is compatible with a given shard
key, and a variety of unit tests and a js test.
2012-10-10 18:14:40 -04:00
Kevin Matulef
02cc945dc8
Fix for js test.
...
Previously the index was not actually created because it was declared
as unique, but there were duplicate x values. Thus, this test was
passing for the wrong reasons. Removing the uniqueness condition
fixes that.
2012-10-10 14:50:42 -04:00
Spencer T Brody
d1f30eece9
Add more tests for prefix shard keys.
2012-07-24 11:48:00 -04:00
Kevin Matulef
236c41c776
SERVER-1506 change shard key validation to allow prefixes of existing indices
2012-06-14 12:56:26 -04:00
gregs
f17810799b
better msging / tests when sharding collection with diff types of indexes SERVER-3718
2011-09-29 13:51:17 -04:00
Spencer T Brody
fcf97ff30e
Update test to reflect desired behavior. SERVER-3718
2011-09-02 17:32:20 -04:00
Spencer T Brody
ad830c9c07
Add more tests for SERVER-2326 & SERVER-3718.
2011-08-29 20:17:47 -04:00
Spencer T Brody
43744ae3b2
Put assert in right place in test.
2011-08-29 19:56:28 -04:00
Spencer T Brody
ae3201b73d
Fix sharding index creation tests. Now can catch SERVER-3718.
2011-08-29 19:50:47 -04:00
gregs
69cf8bee0b
fix for SERVER-2326, unique : true semantics
2011-03-30 19:20:18 -04:00