Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
None
-
None
-
Fully Compatible
-
Quint Iteration 5
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:
python buildscripts/resmoke.py --executor=core_small_oplog jstests/core/or9.js
|
# is equivalent to
|
python buildscripts/smoke.py --small-oplog jstests/core/or9.js
|
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).
executor:
|
js_test:
|
config:
|
shell_options:
|
nodb: ''
|