hadoop-zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjorn Borud <bbo...@gmail.com>
Subject Re: Embedding ZK in another application
Date Tue, 02 Nov 2010 10:22:25 GMT
Bjorn Borud <bborud@gmail.com> writes:
> a good reason to want to embed ZooKeeper is for unit tests.  I had a
> look at the tests that came with ZooKeeper and I am not overly fond of
> having to embed a ZooKeeper ensemble by fiddling with the implementation
> classes.  also, I think it is a bad idea to base a project's test on
> extending test base-classes.  this was okay in JUnit 3, but if you are
> used to JUnit 4 it is a bit ugly.

clarification: when I say "a project's test" I didn't mean ZooKeeper but
whichever project I need to write tests for with an embedded ensemble of
ZK servers.


View raw message