From 462aecdca069c466a1c423cbf3f0a5485e427332 Mon Sep 17 00:00:00 2001 From: Anouk Van Laer Date: Tue, 12 Dec 2017 16:23:00 +0000 Subject: [PATCH] target, android: Set the default timeout to 30s Previously, the default timeout was 10s which is too short in some cases. --- devlib/target.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devlib/target.py b/devlib/target.py index de81a0d..87bb456 100644 --- a/devlib/target.py +++ b/devlib/target.py @@ -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