| Index: tests/standalone/io/http_close_test.dart
 | 
| diff --git a/tests/standalone/io/http_close_test.dart b/tests/standalone/io/http_close_test.dart
 | 
| index 44e7e5fad6c03cbabc595b57ca436ebe4417d988..f410f5003385fdeaac57a68560cab815a6fa9162 100644
 | 
| --- a/tests/standalone/io/http_close_test.dart
 | 
| +++ b/tests/standalone/io/http_close_test.dart
 | 
| @@ -69,47 +69,6 @@ void testClientCloseServerListen(int connections) {
 | 
|  }
 | 
|  
 | 
|  
 | 
| -void testClientCloseDelayed(int connections) {
 | 
| -  HttpServer.bind().then((server) {
 | 
| -    int closed = 0;
 | 
| -    void check() {
 | 
| -      closed++;
 | 
| -      // Wait for both server and client to see the connections as closed.
 | 
| -      if (closed == connections * 2) {
 | 
| -        Expect.equals(0, server.connectionsInfo().active);
 | 
| -        Expect.equals(server.connectionsInfo().total,
 | 
| -                      server.connectionsInfo().idle);
 | 
| -        server.close();
 | 
| -      }
 | 
| -    }
 | 
| -    server.listen((request) {
 | 
| -      request.pipe(request.response)
 | 
| -          .then((_) => check());
 | 
| -    });
 | 
| -    var client = new HttpClient();
 | 
| -    for (int i = 0; i < connections; i++) {
 | 
| -      var req;
 | 
| -      client.post("localhost", server.port, "/")
 | 
| -          .then((request) {
 | 
| -            req = request;
 | 
| -            request.writeBytes(new Uint8List(1024));
 | 
| -            return request.response;
 | 
| -          })
 | 
| -          .then((response) {
 | 
| -            req.close();
 | 
| -            // Ensure we don't accept the response until we have send the entire
 | 
| -            // request.
 | 
| -            response.listen(
 | 
| -                (_) {},
 | 
| -                onDone: () {
 | 
| -                  check();
 | 
| -                });
 | 
| -          });
 | 
| -    }
 | 
| -  });
 | 
| -}
 | 
| -
 | 
| -
 | 
|  void testClientCloseSendingResponse(int connections) {
 | 
|    HttpServer.bind().then((server) {
 | 
|      int closed = 0;
 | 
| @@ -155,7 +114,6 @@ void testClientCloseSendingResponse(int connections) {
 | 
|  void main() {
 | 
|    testClientAndServerCloseNoListen(10);
 | 
|    testClientCloseServerListen(10);
 | 
| -  testClientCloseDelayed(10);
 | 
|    testClientCloseSendingResponse(10);
 | 
|  }
 | 
|  
 | 
| 
 |