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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py

Issue 2456903002: In rebaseline-cl, handle case when retry summary is not available. (Closed)
Patch Set: Created 4 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py
index 3417e269a2e4bfb24b01e3d7aff043e4a496c555..bc7b3b055b49f78347bf9f000c173c52e5e8e64a 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot.py
@@ -86,7 +86,8 @@ class BuildBot(object):
both with and without ("ignored").
"""
url_base = "%s/%s" % (self.builder_results_url_base(build.builder_name), build.build_number)
- return self._fetch_file(url_base, 'retry_summary.json')
+ return NetworkTransaction(convert_404_to_None=True).run(
+ lambda: self._fetch_file(url_base, "retry_summary.json"))
def accumulated_results_url_base(self, builder_name):
return self.builder_results_url_base(builder_name) + "/results/layout-test-results"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698