Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(667)

Unified Diff: scripts/slave/recipe_modules/auto_bisect/api.py

Issue 1574433004: Allow a single trybot to mirror multiple waterfall bots. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@bot-config-and-test-db
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/auto_bisect/api.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/api.py b/scripts/slave/recipe_modules/auto_bisect/api.py
index 3d274b68ecd413999caa864c5802fd6a4a957087..48f8c58d224fe13c963dee5f1791cb3fdccf8ca4 100644
--- a/scripts/slave/recipe_modules/auto_bisect/api.py
+++ b/scripts/slave/recipe_modules/auto_bisect/api.py
@@ -129,11 +129,12 @@ class AutoBisectApi(recipe_api.RecipeApi):
def run_local_test_run(self, api, test_config_params): # pragma: no cover
mastername = api.properties.get('mastername')
buildername = api.properties.get('buildername')
- api.chromium_tests.configure_build(mastername, buildername)
+ bot_desc = api.chromium_tests.create_bot_desc(mastername, buildername)
+ api.chromium_tests.configure_build(bot_desc)
api.gclient.apply_config('perf')
update_step, bot_db = \
api.chromium_tests.prepare_checkout(
- mastername, buildername,
+ bot_desc,
root_solution_revision=test_config_params['revision'])
self.start_test_run_for_bisect(api, update_step, bot_db,
test_config_params, run_locally=True)
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/auto_bisect/example.py » ('j') | scripts/slave/recipe_modules/chromium_tests/api.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698