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

Issue 6304006: Second attempt to work around App Engine flakiness by retrying upon URLError... (Closed)

Created:
9 years, 11 months ago by Ken Russell (switch to Gerrit)
Modified:
9 years, 7 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, M-A Ruel, jam
Visibility:
Public.

Description

Second attempt to work around App Engine flakiness by retrying upon URLError ("Connection timed out"). This allowed me to successfully upload a CL I had been stuck on for a couple of hours. Manually tested by raising both HTTPError and URLError within this code block and ensuring both are caught correctly. BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71702

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M third_party/upload.py View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Ken Russell (switch to Gerrit)
Please re-review; thanks. Note that this new except block is below that handling HTTPError, not ...
9 years, 11 months ago (2011-01-15 04:06:59 UTC) #1
M-A Ruel
http://codereview.chromium.org/6304006/diff/1/third_party/upload.py File third_party/upload.py (right): http://codereview.chromium.org/6304006/diff/1/third_party/upload.py#newcode420 third_party/upload.py:420: if hasattr(e, 'reason'): you could rewrite as reason = ...
9 years, 11 months ago (2011-01-17 18:17:17 UTC) #2
Ken Russell (switch to Gerrit)
http://codereview.chromium.org/6304006/diff/1/third_party/upload.py File third_party/upload.py (right): http://codereview.chromium.org/6304006/diff/1/third_party/upload.py#newcode420 third_party/upload.py:420: if hasattr(e, 'reason'): On 2011/01/17 18:17:17, Marc-Antoine Ruel wrote: ...
9 years, 11 months ago (2011-01-18 21:24:10 UTC) #3
M-A Ruel
9 years, 11 months ago (2011-01-18 21:36:02 UTC) #4
lgtm

Powered by Google App Engine
This is Rietveld 408576698