zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Simulating failures?
Date Fri, 04 Jun 2010 18:35:37 GMT
I use mock objects to create a simulated ZK object.

Alternatively, you may be able to sub-class and delegate all ZK calls.  That
would let you inject faults.

On Fri, Jun 4, 2010 at 11:28 AM, Stephen Green <eelstretching@gmail.com>wrote:

> Is there any way to inject failures into the ZK client so that I can
> test without having to randomly kill servers/clients?

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