test_planner: Add retries for Gerrit and Gitiles API calls

We're occasionally getting timeouts or other transient errors from these
attempts, so let's just retry on failure.

BUG=chromium:922995
TEST=local runs; unit tests

Change-Id: I011ffd1c70ec387a86e595298a07d3ee4d407a71
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/test_planner/+/1609586
Reviewed-by: Evan Hernandez <evanhernandez@chromium.org>
Tested-by: Sean Abraham <seanabraham@chromium.org>
Commit-Queue: Sean Abraham <seanabraham@chromium.org>
5 files changed
tree: 9b8942e36ac55c80cc7455abb89feb2f0792df12
  1. .gitignore
  2. OWNERS
  3. cipd.yaml
  4. deploy_cipd.json
  5. deploy_cipd.sh
  6. src/