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 cc9fd62adf2c50d1156219197681f5cd862b22c7..b4c0f84df40573f15fdc374a522beff0b1d4cf97 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("localhost", server.port, "/") |
+ client.get("127.0.0.1", 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("localhost", server.port, "/") |
+ client.get("127.0.0.1", 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("localhost", server.port, "/") |
+ client.get("127.0.0.1", server.port, "/") |
.then((request) => request.close()) |
.then((response) { |
// Ensure we don't accept the response until we have send the entire |