zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Todd Nine <t...@spidertracks.com>
Subject Simulating ConnectionLossException and SessionExpiredException events during integration testing
Date Thu, 16 Jun 2011 04:37:57 GMT
Hi guys,
  I've written quite a few integration tests around our zookeeper
functionality.  However I find I'm having a really hard time testing edge
cases that are caused by ConnectionLossException and
SessionExpiredException.  Is there any good way to simulate these events in
an embedded zookeeper runtime and then ensure a new client is created?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message