Revert "Increase connection timeout further (#13415)" (#13417)

This reverts commit f40a9398a5.
This commit is contained in:
Sarah Zakarias
2017-12-07 16:24:22 +01:00
committed by GitHub
parent f40a9398a5
commit 3016a56c84
2 changed files with 1 additions and 4 deletions

View File

@@ -15,11 +15,8 @@ Future<Null> 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', <String>['install']);
});
print('pod install executed in ${stopwatch.elapsed}');
await task(createFlutterViewStartupTest());
}

View File

@@ -105,7 +105,7 @@ Future<VMIsolateRef> _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',