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

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

Issue 14083007: 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: Fix new test. 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 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
« 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