Index: tests/standalone/io/http_connection_close_test.dart |
diff --git a/tests/standalone/io/http_connection_close_test.dart b/tests/standalone/io/http_connection_close_test.dart |
index 5a2254020c674c23833187a99b5c1b9b8264a986..c56ef39d01ec68b72aff88b9f70c399fdd7bb4f7 100644 |
--- a/tests/standalone/io/http_connection_close_test.dart |
+++ b/tests/standalone/io/http_connection_close_test.dart |
@@ -9,7 +9,7 @@ import "dart:io"; |
import "dart:uri"; |
void testHttp10Close(bool closeRequest) { |
- HttpServer.bind().then((server) { |
+ HttpServer.bind("127.0.0.1", 0).then((server) { |
server.listen((request) { |
request.response.close(); |
}); |
@@ -29,7 +29,7 @@ void testHttp10Close(bool closeRequest) { |
} |
void testHttp11Close(bool closeRequest) { |
- HttpServer.bind().then((server) { |
+ HttpServer.bind("127.0.0.1", 0).then((server) { |
server.listen((request) { |
request.response.close(); |
}); |
@@ -50,7 +50,7 @@ void testHttp11Close(bool closeRequest) { |
} |
void testStreamResponse() { |
- HttpServer.bind().then((server) { |
+ HttpServer.bind("127.0.0.1", 0).then((server) { |
server.listen((request) { |
var timer = new Timer.periodic(const Duration(milliseconds: 0), (_) { |
request.response.write( |