1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-22 12:58:36 +00:00

Merge pull request #439 from setrofim/master

AndroidDevice: adjust APK install timeout to 5min
This commit is contained in:
marcbonnici 2017-07-19 10:02:18 +01:00 committed by GitHub
commit 565f352114

View File

@ -390,7 +390,7 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223
else: else:
return self.install_executable(filepath, with_name) return self.install_executable(filepath, with_name)
def install_apk(self, filepath, timeout=default_timeout, replace=False, allow_downgrade=False): # pylint: disable=W0221 def install_apk(self, filepath, timeout=300, replace=False, allow_downgrade=False): # pylint: disable=W0221
self._check_ready() self._check_ready()
ext = os.path.splitext(filepath)[1].lower() ext = os.path.splitext(filepath)[1].lower()
if ext == '.apk': if ext == '.apk':