[SERVER-24544] Make ShardingTest expose all methods of 'sh' with the first mongos as a target Created: 13/Jun/16 Updated: 05/Jul/16 Resolved: 17/Jun/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding, Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.9 |
| Type: | Improvement | 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 | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Sharding 16 (06/24/16) |
| Participants: |
| Description |
|
Sharding tests are run with the shell started with the --nodb option, which means that there is no db variable. These tests do tricks with setting the global db value in order to be able to run methods from sh. We should expose all the methods from sh on ShardingTest so js tests can use them. |
| Comments |
| Comment by Githook User [ 17/Jun/16 ] |
|
Author: {u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}Message: |