You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/04/18 18:28:00 UTC
[jira] [Updated] (ZOOKEEPER-4519) Testable interface should have a testableCloseSocket() method
[ https://issues.apache.org/jira/browse/ZOOKEEPER-4519?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ZOOKEEPER-4519:
--------------------------------------
Labels: pull-request-available (was: )
> 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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)