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

Reply via email to