[SERVER-18834] Expose way for how to run jstests specified on resmoke.py command line Created: 04/Jun/15 Updated: 05/Feb/16 Resolved: 23/Jun/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.5 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Max Hirschhorn | Assignee: | Max Hirschhorn |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Quint Iteration 5 |
| Participants: |
| Description |
|
Proposal is to add a command line option to resmoke.py called --executor that takes a path to a YAML configuration file. resmoke.py would then construct a suite that uses the "executor" from the YAML configuration and a "selector" with "roots" as the list of tests specified on the command line. The --executor should default to with_server. Running a single test or a few tests under the same configuration as a suite is useful for when debugging failures. Example usage:
Additionally, a resmokeconfig/suites/no_server.yml configuration should be added to avoid starting a mongod (equivalent to the --dont-start-mongod option in smoke.py).
|
| Comments |
| Comment by Githook User [ 23/Jun/15 ] |
|
Author: {u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}Message: Exposes a way to specify how jstests passed in on the command line --executor=core_small_oplog_rs is equivalent to smoke.py's --small-oplog-rs --executor=no_server is equivalent to smoke.py's --dont-start-mongod |