Skip to content
Snippets Groups Projects
Commit 002d8678 authored by Natalie Weizenbaum's avatar Natalie Weizenbaum
Browse files

Remove the deserialize timeout

This can never fire before the load suite timeout. Now that that
timeout actually works, it's redundant.

See #390
parent 28a9851b
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,6 @@ import '../load_exception.dart';
import '../runner_suite.dart';
import '../runner_test.dart';
final _deserializeTimeout = new Duration(minutes: 8);
/// A helper method for creating a [RunnerSuiteController] containing tests
/// that communicate over [channel].
///
......@@ -113,13 +111,7 @@ Future<RunnerSuiteController> deserializeSuite(
});
return new RunnerSuiteController(
environment,
suiteConfig,
await completer.future.timeout(_deserializeTimeout, onTimeout: () {
throw new ApplicationException(
"Timed out while loading the test suite.\n"
"It's likely that there's a missing import or syntax error.");
}),
environment, suiteConfig, await completer.future,
path: path,
platform: platform,
os: currentOS,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment