[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: SERVER-24544 Make ShardingTest inherit the methods from 'sh'
Branch: master
https://github.com/mongodb/mongo/commit/3fa032e4ca75803519af7a4e6e8f0aad6f7eafde

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