From f3ca11042e80c56a3a4ca9a50e4514a0bab349e3 Mon Sep 17 00:00:00 2001 From: Chinmay Garde Date: Fri, 21 Oct 2016 16:07:39 -0700 Subject: [PATCH] Bump up the timeout on port acquisition and forwaring to 60 seconds. (#6468) It takes a little bit longer that 10 seconds to install, launch and have the observatory be available on an iPod touch. Depending on the size of the application, it could be a lot longer to transer the bundle over the wire. The 60 seconds is arbitrary. --- packages/flutter_tools/lib/src/ios/devices.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter_tools/lib/src/ios/devices.dart b/packages/flutter_tools/lib/src/ios/devices.dart index 9f510c538b..003a65cef9 100644 --- a/packages/flutter_tools/lib/src/ios/devices.dart +++ b/packages/flutter_tools/lib/src/ios/devices.dart @@ -295,7 +295,7 @@ class IOSDevice extends Device { } Future _acquireAndForwardPort(String serviceName, int localPort) async { - Duration stepTimeout = const Duration(seconds: 10); + Duration stepTimeout = const Duration(seconds: 60); Future remote = new ProtocolDiscovery(logReader, serviceName).nextPort();