diff --git a/dev/devicelab/lib/framework/runner.dart b/dev/devicelab/lib/framework/runner.dart index ed488c677a1..91299323d72 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: 2); if (new DateTime.now().difference(started) > connectionTimeout) { throw new TimeoutException( 'Failed to connect to the task runner process',