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

Unified Diff: appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py

Issue 1882273002: [Findit] Check the explicit culprit from try-job if it is set. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « appengine/findit/waterfall/identify_try_job_culprit_pipeline.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py
diff --git a/appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py b/appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py
index e2de1b0408430ce8fb7af2559608948b362126e3..70e3183f94d106591bbba6ef4f0be10246247f4d 100644
--- a/appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py
+++ b/appengine/findit/waterfall/test/identify_try_job_culprit_pipeline_test.py
@@ -75,6 +75,18 @@ class IdentifyTryJobCulpritPipelineTest(testing.AppengineTestCase):
}
}
}))
+ self.assertEqual(
+ 'rev1',
+ IdentifyTryJobCulpritPipeline._GetFailedRevisionFromCompileResult(
+ {
+ 'report': {
+ 'result': {
+ 'rev1': 'failed',
+ 'rev2': 'failed'
+ },
+ 'culprit': 'rev1',
+ }
+ }))
def testIdentifyCulpritForCompileTryJobNoCulprit(self):
master_name = 'm'
« no previous file with comments | « appengine/findit/waterfall/identify_try_job_culprit_pipeline.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698