| Index: tests/standalone/io/http_client_stays_alive_test.dart
|
| diff --git a/tests/standalone/io/http_client_stays_alive_test.dart b/tests/standalone/io/http_client_stays_alive_test.dart
|
| index 64ced6e16352c93fe813a937d9624a722ebdb2fe..614e5b37e61aa49a740ade277670a2926cf026f0 100644
|
| --- a/tests/standalone/io/http_client_stays_alive_test.dart
|
| +++ b/tests/standalone/io/http_client_stays_alive_test.dart
|
| @@ -19,7 +19,7 @@ const SECONDS = 4;
|
|
|
| void runServerProcess() {
|
| asyncStart();
|
| - HttpServer.bind('127.0.0.1', 0).then((server) {
|
| + HttpServer.bind('127.0.0.1', 0).then((server) async {
|
| var url = 'http://127.0.0.1:${server.port}/';
|
|
|
| server.idleTimeout = const Duration(hours: 1);
|
| @@ -29,7 +29,7 @@ void runServerProcess() {
|
| });
|
|
|
| var sw = new Stopwatch()..start();
|
| - var arguments = ['--package-root=${Platform.packageRoot}',
|
| + var arguments = ['--package-root=${(await Platform.packageRoot).toFilePath()}',
|
| '${Platform.script}',
|
| url];
|
| Process.run(Platform.executable, arguments).then((res) {
|
|
|