| Index: dart/tests/standalone/io/http_cross_process_test.dart
|
| diff --git a/dart/tests/standalone/io/http_cross_process_test.dart b/dart/tests/standalone/io/http_cross_process_test.dart
|
| index 1b24c9558c3756dab7fc81b7a13b3ab19c870637..b16763dee9fcda98e63d26aefc3fa4208ba1ff25 100644
|
| --- a/dart/tests/standalone/io/http_cross_process_test.dart
|
| +++ b/dart/tests/standalone/io/http_cross_process_test.dart
|
| @@ -54,6 +54,7 @@ runClient(int port) {
|
| var client = new HttpClient();
|
| client.get('127.0.0.1', port, "/")
|
| .then((request) => request.close())
|
| - .then((response) => response.listen((data) {},
|
| - onDone: () => print('SUCCESS')));
|
| + .then((response) => response.drain())
|
| + .then((_) => client.close())
|
| + .then((_) => print('SUCCESS'));
|
| }
|
|
|