Index: tests/standalone/io/http_compression_test.dart |
diff --git a/tests/standalone/io/http_compression_test.dart b/tests/standalone/io/http_compression_test.dart |
index 8bec0a2e117c4da4b41e9403403b7a02951a537f..140cc399dbb59ad0d519e264375c813562975e0f 100644 |
--- a/tests/standalone/io/http_compression_test.dart |
+++ b/tests/standalone/io/http_compression_test.dart |
@@ -19,7 +19,7 @@ void testServerCompress() { |
request.response.close(); |
}); |
var client = new HttpClient(); |
- client.get("localhost", server.port, "/") |
+ client.get("127.0.0.1", server.port, "/") |
.then((request) { |
request.headers.set(HttpHeaders.ACCEPT_ENCODING, "gzip,deflate"); |
return request.close(); |
@@ -55,7 +55,7 @@ void testAcceptEncodingHeader() { |
request.response.close(); |
}); |
var client = new HttpClient(); |
- client.get("localhost", server.port, "/") |
+ client.get("127.0.0.1", server.port, "/") |
.then((request) { |
request.headers.set(HttpHeaders.ACCEPT_ENCODING, encoding); |
return request.close(); |