Index: tests/standalone/io/socket_test.dart |
diff --git a/tests/standalone/io/socket_test.dart b/tests/standalone/io/socket_test.dart |
index 56a76bbaa98fd866aab01982739fe255eb81a1de..3ebadf8043ea4fc2d914123ba8795927ac30dfdc 100644 |
--- a/tests/standalone/io/socket_test.dart |
+++ b/tests/standalone/io/socket_test.dart |
@@ -62,17 +62,6 @@ void testInvalidBind() { |
}); |
} |
-void testConnectNoDestroy() { |
- asyncStart(); |
- ServerSocket.bind(InternetAddress.LOOPBACK_IP_V4, 0).then((server) { |
- server.listen((_) { }); |
- Socket.connect("127.0.0.1", server.port).then((_) { |
- server.close(); |
- asyncEnd(); |
- }); |
- }); |
-} |
- |
void testConnectImmediateDestroy() { |
asyncStart(); |
ServerSocket.bind(InternetAddress.LOOPBACK_IP_V4, 0).then((server) { |
@@ -210,26 +199,10 @@ void testConnectStreamDataCloseCancel(bool useDestroy) { |
}); |
} |
-void testCloseWriteNoListen() { |
- asyncStart(); |
- ServerSocket.bind(InternetAddress.LOOPBACK_IP_V4, 0).then((server) { |
- server.listen( |
- (client) { |
- client.close(); |
- }); |
- Socket.connect("127.0.0.1", server.port).then((socket) { |
- socket.close(); |
- server.close(); |
- asyncEnd(); |
- }); |
- }); |
-} |
- |
main() { |
testArguments(); |
testSimpleBind(); |
testInvalidBind(); |
- testConnectNoDestroy(); |
testConnectImmediateDestroy(); |
testConnectConsumerClose(); |
testConnectConsumerWriteClose(); |
@@ -238,5 +211,4 @@ main() { |
testConnectStreamDataClose(false); |
testConnectStreamDataCloseCancel(true); |
testConnectStreamDataCloseCancel(false); |
- testCloseWriteNoListen(); |
} |