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

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

Issue 1898003002: [Findit] Fixing when try job entities are created (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Addressing comments 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 | « no previous file | appengine/findit/waterfall/try_job_util.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/waterfall/test/try_job_util_test.py
diff --git a/appengine/findit/waterfall/test/try_job_util_test.py b/appengine/findit/waterfall/test/try_job_util_test.py
index 2014e3eee26fad42c0fe1f52b45e58cef504bb07..65f58afd018607153b19bd295ca23bac3e0c5073 100644
--- a/appengine/findit/waterfall/test/try_job_util_test.py
+++ b/appengine/findit/waterfall/test/try_job_util_test.py
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+from common.waterfall import failure_type
from model import analysis_status
from model.wf_try_job import WfTryJob
from waterfall import try_job_util
@@ -82,6 +83,7 @@ class TryJobUtilTest(wf_testcase.WaterfallTestCase):
'failed_steps': {
'a_test': {}
},
+ 'failure_type': failure_type.TEST
}
failure_result_map = try_job_util.ScheduleTryJobIfNeeded(
@@ -121,7 +123,8 @@ class TryJobUtilTest(wf_testcase.WaterfallTestCase):
'blame_list': ['223-1', '223-2', '223-3'],
'chromium_revision': '223-3'
}
- }
+ },
+ 'failure_type': failure_type.COMPILE
}
self.mock(
@@ -355,7 +358,8 @@ class TryJobUtilTest(wf_testcase.WaterfallTestCase):
'blame_list': ['223-1', '223-2', '223-3'],
'chromium_revision': '223-3'
}
- }
+ },
+ 'failure_type': failure_type.COMPILE
}
self.mock(
« no previous file with comments | « no previous file | appengine/findit/waterfall/try_job_util.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698