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

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

Issue 2027333002: [Findit] don't included skipped or unknown tests in swarming tasks into failed tests. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: 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/detect_first_failure_pipeline.py
diff --git a/appengine/findit/waterfall/detect_first_failure_pipeline.py b/appengine/findit/waterfall/detect_first_failure_pipeline.py
index a6dd42e025edc92e68057099ee4417dc7493aa35..258bcce62b0ca6853fd27a9d7374c23356302c6d 100644
--- a/appengine/findit/waterfall/detect_first_failure_pipeline.py
+++ b/appengine/findit/waterfall/detect_first_failure_pipeline.py
@@ -181,7 +181,8 @@ class DetectFirstFailurePipeline(BasePipeline):
for test_name in iteration.keys():
is_reliable_failure = True
- if any(test['status'] == 'SUCCESS' for test in iteration[test_name]):
+ if (any(test['status'] in ['SUCCESS', 'SKIPPED', 'UNKNOWN']
lijeffrey 2016/06/01 19:27:03 Maybe move this list to a constant called TEST_STA
chanli 2016/06/02 22:40:09 Done.
+ for test in iteration[test_name])):
# Ignore the test if any of the attempts were 'SUCCESS'.
is_reliable_failure = False

Powered by Google App Engine
This is Rietveld 408576698