From f40a9398a5547c653774570bc442104789d12c34 Mon Sep 17 00:00:00 2001 From: Sarah Zakarias Date: Thu, 7 Dec 2017 15:06:57 +0100 Subject: [PATCH] Increase connection timeout further (#13415) --- dev/devicelab/bin/tasks/flutter_view_ios__start_up.dart | 3 +++ dev/devicelab/lib/framework/runner.dart | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dev/devicelab/bin/tasks/flutter_view_ios__start_up.dart b/dev/devicelab/bin/tasks/flutter_view_ios__start_up.dart index 921a24976c..771c613d9c 100644 --- a/dev/devicelab/bin/tasks/flutter_view_ios__start_up.dart +++ b/dev/devicelab/bin/tasks/flutter_view_ios__start_up.dart @@ -15,8 +15,11 @@ Future main() async { final Directory iosDirectory = dir( '${flutterDirectory.path}/examples/flutter_view/ios', ); + final Stopwatch stopwatch = new Stopwatch()..start(); await inDirectory(iosDirectory, () async { await exec('pod', ['install']); }); + + print('pod install executed in ${stopwatch.elapsed}'); await task(createFlutterViewStartupTest()); } diff --git a/dev/devicelab/lib/framework/runner.dart b/dev/devicelab/lib/framework/runner.dart index ed488c677a..114cad5f63 100644 --- a/dev/devicelab/lib/framework/runner.dart +++ b/dev/devicelab/lib/framework/runner.dart @@ -105,7 +105,7 @@ Future _connectToRunnerIsolate(int vmServicePort) async { throw 'not ready yet'; return isolate; } catch (error) { - const Duration connectionTimeout = const Duration(seconds: 4); + const Duration connectionTimeout = const Duration(seconds: 30); if (new DateTime.now().difference(started) > connectionTimeout) { throw new TimeoutException( 'Failed to connect to the task runner process',