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

Unified Diff: buildbot/cbuildbot_commands.py

Issue 6771036: Change RepoSync to use -j4 option. Add tests to check for retries. (Closed) Base URL: http://git.chromium.org/git/chromite.git@master
Patch Set: make reviewer requested changes Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | buildbot/cbuildbot_commands_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: buildbot/cbuildbot_commands.py
diff --git a/buildbot/cbuildbot_commands.py b/buildbot/cbuildbot_commands.py
index b732f658c7b90b72099695375290916e7fdbf610..3b49f11448052a9934aa503b1a2dd4265283de5c 100644
--- a/buildbot/cbuildbot_commands.py
+++ b/buildbot/cbuildbot_commands.py
@@ -53,7 +53,7 @@ def _RepoSync(buildroot, retries=_DEFAULT_RETRIES):
"""
while retries > 0:
try:
- cros_lib.OldRunCommand(['repo', 'sync', '-q'], cwd=buildroot)
+ cros_lib.OldRunCommand(['repo', 'sync', '-q', '--jobs=4'], cwd=buildroot)
cros_lib.OldRunCommand(
['repo',
'forall',
« no previous file with comments | « no previous file | buildbot/cbuildbot_commands_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698