Index: tests/standalone/io/socket_info_test.dart |
diff --git a/tests/standalone/io/socket_info_test.dart b/tests/standalone/io/socket_info_test.dart |
index f626d6647072edfe55f60aa8d5410d53013122b4..395b6e4250e3997802fc643281a852345d128484 100644 |
--- a/tests/standalone/io/socket_info_test.dart |
+++ b/tests/standalone/io/socket_info_test.dart |
@@ -6,7 +6,7 @@ import "package:expect/expect.dart"; |
import "dart:io"; |
void testHostAndPort() { |
- ServerSocket.bind().then((server) { |
+ ServerSocket.bind("127.0.0.1", 0).then((server) { |
Socket.connect("127.0.0.1", server.port).then((clientSocket) { |
server.listen((socket) { |