| Index: lib/src/runner/browser/browser_manager.dart
|
| diff --git a/lib/src/runner/browser/browser_manager.dart b/lib/src/runner/browser/browser_manager.dart
|
| index a3f64a25894256e12e570f061a23155584bb9742..380be41f42be4b6db91ac492eb1c1e9cb2ab44da 100644
|
| --- a/lib/src/runner/browser/browser_manager.dart
|
| +++ b/lib/src/runner/browser/browser_manager.dart
|
| @@ -56,7 +56,11 @@ class BrowserManager {
|
|
|
| // The stream may close before emitting a value if the browser is killed
|
| // prematurely (e.g. via Control-C).
|
| - return maybeFirst(suiteChannel.stream).then((response) {
|
| + return maybeFirst(suiteChannel.stream)
|
| + .timeout(new Duration(seconds: 7), onTimeout: () {
|
| + throw new LoadException(
|
| + path, "Timed out waiting for the test suite to connect.");
|
| + }).then((response) {
|
| if (response == null) return null;
|
|
|
| if (response["type"] == "loadException") {
|
|
|