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 d88f5f513f1218ee3b31c9e761b7b7ab25fd456f..d44cdbeec976c9abd25693f056d9fc17ae110faf 100644 |
--- a/tests/standalone/io/http_close_test.dart |
+++ b/tests/standalone/io/http_close_test.dart |
@@ -30,7 +30,7 @@ void testClientAndServerCloseNoListen(int connections) { |
}); |
var client = new HttpClient(); |
for (int i = 0; i < connections; i++) { |
- client.get("127.0.0.1", server.port, "/") |
+ client.get("localhost", server.port, "/") |
.then((request) => request.close()) |
.then((response) { |
}); |
@@ -61,7 +61,7 @@ void testClientCloseServerListen(int connections) { |
}); |
var client = new HttpClient(); |
for (int i = 0; i < connections; i++) { |
- client.get("127.0.0.1", server.port, "/") |
+ client.get("localhost", server.port, "/") |
.then((request) => request.close()) |
.then((response) => check()); |
} |
@@ -95,7 +95,7 @@ void testClientCloseSendingResponse(int connections) { |
}); |
var client = new HttpClient(); |
for (int i = 0; i < connections; i++) { |
- client.get("127.0.0.1", server.port, "/") |
+ client.get("localhost", server.port, "/") |
.then((request) => request.close()) |
.then((response) { |
// Ensure we don't accept the response until we have send the entire |