Curator has a utility that does this:
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.
> Alexander Mossin