| 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 47c2906eca3d7295cd9c285ee2a1685f59116369..b5addc7bcadd590e5d0170565e74b53f4253f955 100644
|
| --- a/tests/standalone/io/http_compression_test.dart
|
| +++ b/tests/standalone/io/http_compression_test.dart
|
| @@ -13,7 +13,7 @@ import 'dart:typed_data';
|
|
|
| void testServerCompress() {
|
| void test(List<int> data) {
|
| - HttpServer.bind().then((server) {
|
| + HttpServer.bind("127.0.0.1", 0).then((server) {
|
| server.listen((request) {
|
| request.response.add(data);
|
| request.response.close();
|
| @@ -49,7 +49,7 @@ void testServerCompress() {
|
|
|
| void testAcceptEncodingHeader() {
|
| void test(String encoding, bool valid) {
|
| - HttpServer.bind().then((server) {
|
| + HttpServer.bind("127.0.0.1", 0).then((server) {
|
| server.listen((request) {
|
| request.response.write("data");
|
| request.response.close();
|
|
|