Removing git retry logic
Removing all git retry logic from git module. Retry logic will
now be handled by the git wrapper within the builders.
BUG=chromium:825370
TEST=`./cbuildbot/run_tests` PASS
Change-Id: I592267bf6013acf56ca87d2719bd73a189496153
Reviewed-on: https://chromium-review.googlesource.com/1003273
Commit-Ready: Mike Nichols <mikenichols@chromium.org>
Tested-by: Mike Nichols <mikenichols@chromium.org>
Reviewed-by: Jason Clinton <jclinton@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
diff --git a/scripts/cros_mark_as_stable_unittest.py b/scripts/cros_mark_as_stable_unittest.py
index 5574265..7e84187 100644
--- a/scripts/cros_mark_as_stable_unittest.py
+++ b/scripts/cros_mark_as_stable_unittest.py
@@ -53,7 +53,7 @@
self.PatchObject(cros_mark_as_stable.GitBranch, 'Exists',
side_effect=side_effect)
- push_mock = self.PatchObject(git, 'PushWithRetry')
+ push_mock = self.PatchObject(git, 'PushBranch')
self.PatchObject(
git, 'GetTrackingBranch',
return_value=git.RemoteRef('gerrit', 'refs/remotes/gerrit/master'))