[SERVER-22668] Unit-tests for the sharding balancer policy and statistics gathering Created: 16/Feb/16  Updated: 05/Jul/16  Resolved: 23/Jun/16

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.3.9

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

Issue Links:
Depends
depends on SERVER-22667 Componentize the sharding balancer Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 15 (06/03/16), Sharding 16 (06/24/16), Sharding 17 (07/15/16)
Participants:

 Description   

Write unit-tests for the balancer policy and statistics gathering part.



 Comments   
Comment by Kaloian Manassiev [ 23/Jun/16 ]

After reviewing the available balancer policy tests, done as part of the work for the previous commit, we have sufficient coverage for this functionality and there is no need to add new tests.

Comment by Githook User [ 23/Jun/16 ]

Author:

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

Message: SERVER-22668 Cleanup the balancer policy tests

This change makes the BalancerPolicy::balance method return a vector of
migrations instead of a pointer and fixes all unit-tests to reflect that
and to check for validity of the returned result.
Branch: master
https://github.com/mongodb/mongo/commit/055de7bf6fc5f80afcb959d7435c540a15e2c065

Generated at Thu Feb 08 04:01:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.