use of org.apache.cassandra.utils.RMIServerSocketFactoryImpl in project cassandra by apache.
the class RMIServerSocketFactoryImplTest method testReusableAddrSocket.
@Test
public void testReusableAddrSocket() throws IOException {
RMIServerSocketFactory serverFactory = new RMIServerSocketFactoryImpl(null);
ServerSocket socket = serverFactory.createServerSocket(7199);
assertTrue(socket.getReuseAddress());
}
Aggregations