Index: tests/standalone/io/raw_socket_write_destroy_test.dart |
diff --git a/tests/standalone/io/raw_socket_write_destroy_test.dart b/tests/standalone/io/raw_socket_write_destroy_test.dart |
index 13ecaf3f5741ab81ebefde3100b344e1ef6c430d..b5eed7c5b4792149ee544104f326db8137205f8c 100644 |
--- a/tests/standalone/io/raw_socket_write_destroy_test.dart |
+++ b/tests/standalone/io/raw_socket_write_destroy_test.dart |
@@ -15,7 +15,7 @@ const SERVER_ADDRESS = "127.0.0.1"; |
void testWriteDestroyServer() { |
int WROTE = 100000; |
- RawServerSocket.bind(SERVER_ADDRESS).then((server) { |
+ RawServerSocket.bind(SERVER_ADDRESS, 0).then((server) { |
server.listen((socket) { |
socket.writeEventsEnabled = false; |
@@ -54,7 +54,7 @@ void testWriteDestroyServer() { |
void testWriteDestroyClient() { |
int WROTE = 100000; |
- RawServerSocket.bind(SERVER_ADDRESS).then((server) { |
+ RawServerSocket.bind(SERVER_ADDRESS, 0).then((server) { |
server.listen((socket) { |
var bytes = 0; |
socket.listen((e) { |