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

Patrick Hunt resolved ZOOKEEPER-254.
------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]

Ben documented this in the FAQ, closing:

http://wiki.apache.org/hadoop/ZooKeeper/FAQ#4

> there is currently no way for a user to test session expiration in their code
> -----------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-254
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-254
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: tests
>            Reporter: Patrick Hunt
>            Assignee: Benjamin Reed
>             Fix For: 3.1.0
>
>
> There's currently no way for a user to test session expiration in their code.
> We don't  have any unit/system tests that verify our code handles session 
> expiration properly.
> There should be a way to test session expiration.
> I did notice that we have the ability to terminate a session using JMX mbean 
> interface, however I'm not sure if this is useful in an automated testing 
> context. Even if it is we should provide a wrapper for testing purposes - and 
> add tests to our codebase which uses it.

-- 
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