1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-01-31 10:10:46 +00:00

target, android: Set the default timeout to 30s

Previously, the default timeout was 10s which is too short in some cases.
This commit is contained in:
Anouk Van Laer 2017-12-12 16:23:00 +00:00 committed by marcbonnici
parent cafc0a4bc0
commit 462aecdca0

View File

@ -1034,7 +1034,7 @@ class AndroidTarget(Target):
if not boot_completed: if not boot_completed:
raise TargetError('Connected but Android did not fully boot.') raise TargetError('Connected but Android did not fully boot.')
def connect(self, timeout=10, check_boot_completed=True): # pylint: disable=arguments-differ def connect(self, timeout=30, check_boot_completed=True): # pylint: disable=arguments-differ
device = self.connection_settings.get('device') device = self.connection_settings.get('device')
if device and ':' in device: if device and ':' in device:
# ADB does not automatically remove a network device from it's # ADB does not automatically remove a network device from it's