Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Unified Diff: tests/standalone/io/http_close_test.dart

Issue 14036017: Revert "Add new InternetAddress class with a static lookup function (including IPv6 results)." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sdk/lib/io/socket.dart ('k') | tests/standalone/io/http_compression_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « sdk/lib/io/socket.dart ('k') | tests/standalone/io/http_compression_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698