DescriptionRetry in parallel_emerge for 5xx error codes.
When the server returns a 5xx error code, we should retry. Such errors are
often due to flakiness, so retries resolve the issue.
BUG=chromium-os:9217
TEST=Tested parallel_emerge with fake URL to verify it retries.
Change-Id: Ie5cf003562b5261005be9929624769394b4802a1
Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=8ce0100
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add sleeps in between retries per petkov's comments. #Patch Set 3 : Address sosa's comments. #Patch Set 4 : Add explicit conversion for better error messages. #Messages
Total messages: 3 (0 generated)
|