Skip to content

Commit

Permalink
[Android] Extend android install timeout to 5 minutes for testing
Browse files Browse the repository at this point in the history
For android trybots, they will use emulator to run tests.
On emulator, the operation will take really a lot of time.
  • Loading branch information
Shiliu Wang authored and Jesus Sanchez-Palencia committed Oct 7, 2013
1 parent 199d213 commit e30def5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/android/pylib/android_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,8 +402,10 @@ def Install(self, package_file_path, reinstall=False):
install_cmd = ' '.join(install_cmd)

self._LogShell(install_cmd)
# FIXME(wang16): Change the timeout here to five minutes. Revert
# the change when slaves can run kvm enabled x86 android emulators.
return self._adb.SendCommand(install_cmd,
timeout_time=2 * 60,
timeout_time=5 * 60,
retry_count=0)

def ManagedInstall(self, apk_path, keep_data=False, package_name=None,
Expand Down

0 comments on commit e30def5

Please sign in to comment.