[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Hunt updated ZOOKEEPER-112:
-----------------------------------

    Attachment: ZOOKEEPER-112.patch

Moved disconnect() into ZooKeeperStub class which I added to test package. Also 
removed the "describeCNXN()" method from ZooKeeper since this seems like a test 
method rather than a public api method (we should have include it as part of 
zk.toString() if it's interesting for debugging purposes).

> src/java/main ZooKeeper.java has test code embedded into it.
> ------------------------------------------------------------
>
>                 Key: ZOOKEEPER-112
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-112
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: tests
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>             Fix For: 3.0.0
>
>         Attachments: ZOOKEEPER-112.patch
>
>
> src/java/main ZooKeeper.java has a method "public void disconnect()" that is 
> not part of the public api but put there for testing purposes (to test 
> disconnection of the client from the server w/o actually shutting down the 
> session)
> This method needs to be moved out of the public api. preferably we should 
> have a subclass in the test code itself that provides this method.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to