You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Ling Mao (Jira)" <ji...@apache.org> on 2022/05/16 04:16: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 ]
Ling Mao updated ZOOKEEPER-4519:
--------------------------------
Fix Version/s: 3.9.0
> 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
> Fix For: 3.9.0
>
> Time Spent: 1h
> 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.7#820007)