Commit Graph

15 Commits

Author SHA1 Message Date
jannaerin
da1e0304e8 SERVER-32052 Update ShardingTest to default to starting shard servers as replica sets 2018-03-09 00:40:40 -05:00
samantharitter
953df5a1f0 SERVER-31184 Make sharding tests only consider chunks for collections they actually use 2017-10-10 17:58:36 -04:00
Hugh Han
9e478e4164 SERVER-14761 only allow NumberLong as split key in hashed shard patterns
When a shard uses a hashed key pattern, only NumberLong types may be used
as split keys.

A small bug in hash_basic.js regarding 'middle' syntax was also fixed.
Instead of 10000 to the document as a whole, 10000 is now added to the
actual number in the document.

A small bug in read_only_test.js regarding the shardColl(...) function
was also found. It was fixed to now do what I believe the author originally
intended it to do.
2017-07-13 13:45:20 -04:00
Kaloian Manassiev
8fc79125bb SERVER-23704 Make shard_keycount.js invoke the anonymous test function 2016-04-14 17:58:36 -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
Jonathan Abrahams
5f4c54029d SERVER-21894 Remove unused 'hashed' resmoke.py tags from JS tests 2015-12-30 14:55:20 -05:00
Kaloian Manassiev
706ac90265 SERVER-21186 Make all sharding tests use default verbosity of 1
The default ShardingTest verbosity is currently zero, but we have many
tests, which bump it to 1 and even higher.

Since verbosity level of 0 is sometimes insufficient for investigating
transient failures, this change makes the default to be 1 and removes all
places, which explicitly make it 1 or higher.
2015-11-11 11:01:18 -05:00
Randolph Tan
280fbae904 SERVER-18044 Make sharding test explicitly set primary shards for databases 2015-05-15 10:11:31 -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
ec176dd577 SERVER-10232 better migration stats to detect TO-side readiness
Undo temporarly band aids by SERVER-11122 and SERVER-11301
2013-12-02 17:45:24 -05:00
Benety Goh
5bdf45f7e8 SERVER-11122 wrap move chunk admin command in a retry loop to handle case when destination shard is not ready 2013-10-10 10:09:56 -04:00
Randolph Tan
0a590e4208 SERVER-8187 Usability issues with splitting + hashed shard keys
Added new option for splitting keys on a cluster using hashed shard keys.
2013-02-01 15:16:47 -05:00