Houston Putman created ZOOKEEPER-4519:
-----------------------------------------

             Summary: Testable interface should have a testableCloseSocket() 
method
                 Key: ZOOKEEPER-4519
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4519
             Project: ZooKeeper
          Issue Type: Improvement
          Components: java client
            Reporter: Houston Putman


The {{ClientCnxn}} class has a protected function {{testableCloseSocket()}}, 
which allows applications to test how their system will respond if the 
Zookeeper socket connection is closed.

This would be a very easy feature to add to the {{Testable}} interface, as the 
{{ZookeeperTestable}} class has access to a {{ClientCnxn}} that it could easily 
pass the {{testableCloseSocket()}} call to. That way applications wanting to 
test this do not need to rely on the {{tests}} artifacts in order to use this 
method, as they currently do.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to