Index: tests/standalone/io/socket_many_connections_test.dart |
diff --git a/tests/standalone/io/socket_many_connections_test.dart b/tests/standalone/io/socket_many_connections_test.dart |
index 6e718f90c0100d4a4dc284aa48f3400220ce014e..3aabf60c6ea627db059b2080481fc37a58751e89 100644 |
--- a/tests/standalone/io/socket_many_connections_test.dart |
+++ b/tests/standalone/io/socket_many_connections_test.dart |
@@ -17,7 +17,7 @@ class SocketManyConnectionsTest { |
: _receivePort = new ReceivePort(), |
_sendPort = null, |
_connections = 0, |
- _sockets = new List<Socket>(CONNECTIONS) { |
+ _sockets = new List<Socket>.fixedLength(CONNECTIONS) { |
_sendPort = spawnFunction(startTestServer); |
initialize(); |
} |