mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +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:
parent
cafc0a4bc0
commit
462aecdca0
@ -1034,7 +1034,7 @@ class AndroidTarget(Target):
|
||||
if not boot_completed:
|
||||
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')
|
||||
if device and ':' in device:
|
||||
# ADB does not automatically remove a network device from it's
|
||||
|
Loading…
x
Reference in New Issue
Block a user