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

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

Issue 1935193002: [Findit] Update try-job result in a transaction and fix bugs in unittests. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Fix nit. 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
Index: appengine/findit/waterfall/test/swarming_tasks_to_try_job_pipeline_test.py
diff --git a/appengine/findit/waterfall/test/swarming_tasks_to_try_job_pipeline_test.py b/appengine/findit/waterfall/test/swarming_tasks_to_try_job_pipeline_test.py
index 04218101e28bad0541d469c3fc9f6420d8097f2e..72a1b16f55840bb1ec94db6540bb726ca33d6be1 100644
--- a/appengine/findit/waterfall/test/swarming_tasks_to_try_job_pipeline_test.py
+++ b/appengine/findit/waterfall/test/swarming_tasks_to_try_job_pipeline_test.py
@@ -213,6 +213,7 @@ class SwarmingTasksToTryJobPipelineTest(wf_testcase.WaterfallTestCase):
self.execute_queued_tasks()
try_job = WfTryJob.Get(master_name, builder_name, build_number)
+ analysis = WfAnalysis.Get(master_name, builder_name, build_number)
expected_suspected_cl = {
'revision': 'rev2',
@@ -348,6 +349,7 @@ class SwarmingTasksToTryJobPipelineTest(wf_testcase.WaterfallTestCase):
self.execute_queued_tasks()
try_job = WfTryJob.Get(master_name, builder_name, build_number)
+ analysis = WfAnalysis.Get(master_name, builder_name, build_number)
expected_suspected_cl = {
'revision': 'rev1',

Powered by Google App Engine
This is Rietveld 408576698