[SERVER-22348] Propagate --mongo, --mongod, and --mongos resmoke.py options to MongoRunner Created: 29/Jan/16  Updated: 05/Apr/17  Resolved: 10/Jan/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.3.1
Fix Version/s: 3.5.2

Type: Improvement Priority: Minor - P4
Reporter: Geert Bosch Assignee: Robert Guo (Inactive)
Resolution: Done Votes: 0
Labels: tig-mongorunner, tig-resmoke
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-24513 Resmoke does not pass the --mongo or ... Closed
is duplicated by SERVER-25960 resmoke should pass in the location o... Closed
Backwards Compatibility: Fully Compatible
Sprint: TIG 2016-12-12, TIG 2017-01-02
Participants:

 Description   

Currently the values specified to --mongo, --mongod, or --mongos are only used by resmoke.py for the processes it spawns. This means that calls to startParallelShell(), MongoRunner.runMongod(), and MongoRunner.runMongos() use the executable in the current working directory.

We should add properties to the global MongoRunner object so that resmoke.py can propagate the path to the executable that the user specified at the command line.

Original description

Currently specifying the --mongod and --mongos options for resmoke does not result in those executables being used in MongoRunner, ReplSetTest, ShardingTest, etc.

Would be nice to pass those paths in TestData and use them in the shell helpers, so that the right executables are executed. This makes A/B testing during development much easier and less error-prone.



 Comments   
Comment by Githook User [ 10/Jan/17 ]

Author:

{u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}

Message: SERVER-22348 propagate binary paths from resmoke to MongoRunner
Branch: master
https://github.com/mongodb/mongo/commit/8478c3b4f7c2e2e8804ca4f5a3847b07a71fd9b3

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