[SERVER-22525] Fix implicit options usage in test cases Created: 08/Feb/16 Updated: 14/Apr/16 Resolved: 22/Mar/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.3.1 |
| Fix Version/s: | 3.3.4 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Operating System: | ALL | ||||||||||||
| Sprint: | Platforms 10 (02/19/16), Platforms 12 (04/01/16) | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
In Mongo, MongoD, and MongoS, we have several options which are implicit options:
These are options that have been setup with setImplicitValue. To quote setImplicitValue
This maps to boost::program_options::typed_value::implicit_value which is defined as:
This has been documented this way since boost 1.49. This means that the common way of passing passwords for example on the command line as used by the tests is wrong.
and
are supposed to be equivalent. The correct syntax is
Boost prior to 1.59 had a bug where - References: |
| Comments |
| Comment by Githook User [ 22/Mar/16 ] |
|
Author: {u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}Message: |
| Comment by Githook User [ 22/Mar/16 ] |
|
Author: {u'username': u'acmorrow', u'name': u'Andrew Morrow', u'email': u'acm@mongodb.com'}Message: This reverts commit 53ce96ad0f9d410ef86dc3ad3a4bd45e0ea5eef1. |