| Index: tools/testing/dart/test_runner.dart
|
| diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
|
| index 0fe9f188aca33f1c2957021eb9f0426c6eef8c5d..ce8eba73fe6fc51d01448cf134349f7bad870700 100644
|
| --- a/tools/testing/dart/test_runner.dart
|
| +++ b/tools/testing/dart/test_runner.dart
|
| @@ -2565,25 +2565,18 @@ class CommandExecutorImpl implements CommandExecutor {
|
| }
|
|
|
| Future<BrowserTestRunner> _getBrowserTestRunner(String browser,
|
| - Map configuration) {
|
| + Map configuration) async {
|
| var localIp = globalConfiguration['local_ip'];
|
| - var num_browsers = maxBrowserProcesses;
|
| if (_browserTestRunners[configuration] == null) {
|
| var testRunner = new BrowserTestRunner(
|
| - configuration, localIp, browser, num_browsers);
|
| + configuration, localIp, browser, maxBrowserProcesses);
|
| if (globalConfiguration['verbose']) {
|
| testRunner.logger = DebugLogger.info;
|
| }
|
| _browserTestRunners[configuration] = testRunner;
|
| - return testRunner.start().then((started) {
|
| - if (started) {
|
| - return testRunner;
|
| - }
|
| - print("Issue starting browser test runner");
|
| - io.exit(1);
|
| - });
|
| + await testRunner.start();
|
| }
|
| - return new Future.value(_browserTestRunners[configuration]);
|
| + return _browserTestRunners[configuration];
|
| }
|
| }
|
|
|
|
|