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

Unified Diff: appengine/findit/waterfall/schedule_try_job_pipeline.py

Issue 1924823003: [Findit] Use heuristic analysis result for test try jobs(Findit side). (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Use culprits directly if returned from recipe. Created 4 years, 7 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: appengine/findit/waterfall/schedule_try_job_pipeline.py
diff --git a/appengine/findit/waterfall/schedule_try_job_pipeline.py b/appengine/findit/waterfall/schedule_try_job_pipeline.py
index a29ca3d4f6c3086a46f3ca90320dec0864b2c727..e157d7a36b3c8494fb4be6408acdf1375d13952f 100644
--- a/appengine/findit/waterfall/schedule_try_job_pipeline.py
+++ b/appengine/findit/waterfall/schedule_try_job_pipeline.py
@@ -32,13 +32,14 @@ class ScheduleTryJobPipeline(BasePipeline):
properties['target_buildername'] = builder_name
if compile_targets:
properties['compile_targets'] = compile_targets
- if suspected_revisions:
- properties['suspected_revisions'] = suspected_revisions
else: # try_job_type is 'test'.
properties['target_testername'] = builder_name
assert targeted_tests
properties['tests'] = targeted_tests
+ if suspected_revisions:
+ properties['suspected_revisions'] = suspected_revisions
+
return properties
# Arguments number differs from overridden method - pylint: disable=W0221

Powered by Google App Engine
This is Rietveld 408576698