mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-10 22:11:53 +01: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:
committed by
marcbonnici
parent
cafc0a4bc0
commit
462aecdca0
@@ -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
|
||||||
|
Reference in New Issue
Block a user