From 3016a56c84cef89d8a923a71f2b8227e51da88b2 Mon Sep 17 00:00:00 2001 From: Sarah Zakarias Date: Thu, 7 Dec 2017 16:24:22 +0100 Subject: [PATCH] Revert "Increase connection timeout further (#13415)" (#13417) This reverts commit f40a9398a5547c653774570bc442104789d12c34. --- dev/devicelab/bin/tasks/flutter_view_ios__start_up.dart | 3 --- dev/devicelab/lib/framework/runner.dart | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) 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 771c613d9c..921a24976c 100644 --- a/dev/devicelab/bin/tasks/flutter_view_ios__start_up.dart +++ b/dev/devicelab/bin/tasks/flutter_view_ios__start_up.dart @@ -15,11 +15,8 @@ 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 114cad5f63..ed488c677a 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: 30); + const Duration connectionTimeout = const Duration(seconds: 4); if (new DateTime.now().difference(started) > connectionTimeout) { throw new TimeoutException( 'Failed to connect to the task runner process',