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

Unified Diff: third_party/android_testrunner/run_command.py

Issue 12356002: [NOT FOR COMMIT] Hacks to merge render compositor thread with UI thread (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
Index: third_party/android_testrunner/run_command.py
diff --git a/third_party/android_testrunner/run_command.py b/third_party/android_testrunner/run_command.py
index d398daa283b10ffe5baeadde29574d320ca72ce6..e85f9924ce38ccded39214b23928dcb6f2b0f5a6 100644
--- a/third_party/android_testrunner/run_command.py
+++ b/third_party/android_testrunner/run_command.py
@@ -34,7 +34,7 @@ def SetAbortOnError(abort=True):
global _abort_on_error
_abort_on_error = abort
-def RunCommand(cmd, timeout_time=None, retry_count=3, return_output=True,
+def RunCommand(cmd, timeout_time=None, retry_count=0, return_output=True,
stdin_input=None):
"""Spawn and retry a subprocess to run the given shell command.
@@ -48,6 +48,7 @@ def RunCommand(cmd, timeout_time=None, retry_count=3, return_output=True,
Returns:
output of command
"""
+ retry_count = 0
result = None
while True:
try:

Powered by Google App Engine
This is Rietveld 408576698