[SERVER-22969] Remove connectionURLTheSame from the global scope Created: 04/Mar/16 Updated: 16/Mar/16 Resolved: 07/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Shell |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.3 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Kamran K. | Assignee: | Kamran K. |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Minor Change | ||||||||
| Operating System: | ALL | ||||||||
| Sprint: | TIG 11 (03/11/16) | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
We should remove connectionURLTheSame from the global scope because it's only used by ShardingTest and because it's not robust to invalid parameters. Original description: connectionURLTheSame is a shell-only function that will recurse too much on invalid parameters:
We can add type checking to prevent this behavior, which sometimes results in test failures when fuzzing. |
| Comments |
| Comment by Githook User [ 07/Mar/16 ] |
|
Author: {u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}Message: connectionURLTheSame has been moved to ShardingTest's scope because it's |