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.
This commit is contained in:
Chinmay Garde
2016-10-21 16:07:39 -07:00
committed by GitHub
parent 55a374d46b
commit f3ca11042e

View File

@@ -295,7 +295,7 @@ class IOSDevice extends Device {
}
Future<int> _acquireAndForwardPort(String serviceName, int localPort) async {
Duration stepTimeout = const Duration(seconds: 10);
Duration stepTimeout = const Duration(seconds: 60);
Future<int> remote = new ProtocolDiscovery(logReader, serviceName).nextPort();