[SERVER-21009] Get rid of the multi-argument constructor of ShardingTest Created: 19/Oct/15  Updated: 04/Nov/15  Resolved: 27/Oct/15

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.2.0-rc2

Type: Task Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding B (10/30/15)
Participants:

 Description   

ShardingTest can be instantiated by passing multiple arguments or through passing a BSON object describing the desired configuration.

We should only leave the BSON object constructor since it is more descriptive and flexible.



 Comments   
Comment by Githook User [ 27/Oct/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: 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.
Branch: master
https://github.com/mongodb/mongo/commit/38e5c4febb788441f19044a4d3d2b89e1ab70bf0

Comment by Githook User [ 27/Oct/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-21009 Move sharding admin calls out of ShardingTest

These are used by support and are not really test code.

No functional changes.
Branch: master
https://github.com/mongodb/mongo/commit/ba8757e0afd1577a090785f014fc07b55e219d9a

Comment by Githook User [ 23/Oct/15 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: 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.
Branch: master
https://github.com/mongodb/mongo/commit/3db9d1338c4d15b9b937516676645fd26d5f0a23

Generated at Thu Feb 08 03:55:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.