-
Type: Improvement
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Shell, Testing Infrastructure
-
Fully Compatible
-
Security 6 07/17/15, Security 7 08/10/15, Security 12 (04/01/16), Security 13 (04/22/16), Security 14 (05/13/16)
Currently it's possible to set environment variables when starting a mongod from the mongo shell in the following fashion.
_startMongoProgram("env", "ABCD=123", "mongo", "--nodb");
MongoRunner.runMongod should be able to take in environment variables as options and format it as environment variables to _startMongoProgram. This would enable shardingtest, replsettest and possibly other higher-level abstractions that use runMongod to also take in environment variables in their options.
- is depended on by
-
SERVER-22161 Test LDAP Authorization bind mechanisms
- Closed
- is related to
-
SERVER-25840 Ability for runProgram() to specify environment
- Closed
- related to
-
SERVER-4895 Expose environment variables in the shell
- Closed