[Findit] Error checking/retry in swarming_util can get stuck |
||
Issue descriptionin _SendRequestToServer, due to retry, if at any point an error is encountered, it will continue to retry even if eventually successful. The root cause is the error isn't being reset on the next iteration of retry, causing it always to go into the error-checking branch first and thinking it needs another retry
,
Sep 22 2017
The following revision refers to this bug: https://chromium.googlesource.com/infra/infra/+/9ae77d7a1b1441247b5879e180569993b7aa679e commit 9ae77d7a1b1441247b5879e180569993b7aa679e Author: Jeffrey Li <lijeffrey@chromium.org> Date: Fri Sep 22 18:56:02 2017 [Findit] Fixing swarming_util's retry logic to return results immediatly upon success Bug: 767643 Change-Id: I331aa0b5232708df2a18398444af69ac0ce18db7 Reviewed-on: https://chromium-review.googlesource.com/677887 Reviewed-by: Shuotao Gao <stgao@chromium.org> Commit-Queue: Jeffrey Li <lijeffrey@chromium.org> [modify] https://crrev.com/9ae77d7a1b1441247b5879e180569993b7aa679e/appengine/findit/waterfall/swarming_util.py [modify] https://crrev.com/9ae77d7a1b1441247b5879e180569993b7aa679e/appengine/findit/waterfall/test/swarming_util_test.py
,
Sep 22 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by lijeffrey@chromium.org
, Sep 21 2017