Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Zookeeper >> mail # user >> Simulate session timeout


+
Alexander Mossin 2012-10-02, 08:02
Copy link to this message
-
Re: Simulate session timeout
Curator has a utility that does this:

https://github.com/Netflix/curator/blob/master/curator-test/src/main/java/com/netflix/curator/test/KillSession.java

On Oct 2, 2012, at 1:02 AM, Alexander Mossin <[EMAIL PROTECTED]> wrote:

> What is a good way to simulate ZK session timeouts from a test suite?
>
> If this has been answered before, please forgive me and help me find the
> relevant answer.
>
> Thanks,
> Alexander Mossin