OPENDJ-612: SDK: Race conditions installing client/server filter chains during connect/bind/accept
Fix DefaultTCPNIOTransportTestCase so that it passes. It is still a bad test and is probably causing the other tests to fail.
| | |
| | | // Create a transport. |
| | | final TCPNIOTransport transport = DefaultTCPNIOTransport.getInstance(); |
| | | SocketAddress socketAddress = findFreeSocketAddress(); |
| | | transport.bind(findFreeSocketAddress()); |
| | | transport.bind(socketAddress); |
| | | |
| | | // Establish a socket connection to see if the transport factory works. |
| | | final Socket socket = new Socket(); |