summaryrefslogtreecommitdiff
path: root/buildscripts/burn_in_tests.py
diff options
context:
space:
mode:
authorvrachev <vlad.rachev@mongodb.com>2020-04-15 13:22:09 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-30 14:25:56 +0000
commit9227199e1c480ff3a052954575eaa7b317e352e5 (patch)
tree4a7ab9593c69e5c90e7ec9fa4372dd58bea54c7d /buildscripts/burn_in_tests.py
parent3684f6c9461b89d9ff63a163b32b6e317fb80dd1 (diff)
downloadmongo-9227199e1c480ff3a052954575eaa7b317e352e5.tar.gz
SERVER-46769 Migrate from optparse to argparse
Diffstat (limited to 'buildscripts/burn_in_tests.py')
-rw-r--r--buildscripts/burn_in_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/burn_in_tests.py b/buildscripts/burn_in_tests.py
index efc261c00e6..c7769ff4366 100644
--- a/buildscripts/burn_in_tests.py
+++ b/buildscripts/burn_in_tests.py
@@ -398,7 +398,7 @@ def create_task_list(evergreen_conf: EvergreenProjectConfig, build_variant: str,
def _set_resmoke_cmd(repeat_config: RepeatConfig, resmoke_args: [str]) -> [str]:
"""Build the resmoke command, if a resmoke.py command wasn't passed in."""
- new_args = [sys.executable, "buildscripts/resmoke.py"]
+ new_args = [sys.executable, "buildscripts/resmoke.py", "run"]
if resmoke_args:
new_args = copy.deepcopy(resmoke_args)
@@ -645,7 +645,7 @@ def create_tests_by_task(build_variant: str, repos: Iterable[Repo],
exclude_suites, exclude_tasks, exclude_tests = find_excludes(SELECTOR_FILE)
changed_tests = filter_tests(changed_tests, exclude_tests)
- buildscripts.resmokelib.parser.set_options()
+ buildscripts.resmokelib.parser.set_run_options()
if changed_tests:
return create_task_list_for_tests(changed_tests, build_variant, evg_conf, exclude_suites,
exclude_tasks)