Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

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


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

NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB