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: |