Index: tests/standalone/io/http_connection_header_test.dart |
diff --git a/tests/standalone/io/http_connection_header_test.dart b/tests/standalone/io/http_connection_header_test.dart |
index 9d43624d1aca4424abd1de78146d9a996ae5ad97..cd37ead15eb792788330623ae31cbb66d5ef5629 100644 |
--- a/tests/standalone/io/http_connection_header_test.dart |
+++ b/tests/standalone/io/http_connection_header_test.dart |
@@ -32,7 +32,7 @@ void checkExpectedConnectionHeaders(HttpHeaders headers, |
} |
void test(int totalConnections, bool clientPersistentConnection) { |
- HttpServer.bind().then((server) { |
+ HttpServer.bind("127.0.0.1", 0).then((server) { |
server.listen((HttpRequest request) { |
// Check expected request. |
Expect.equals(clientPersistentConnection, request.persistentConnection); |