I embed a ZK server in my tests by running ZooKeeperServerMain (in a different thread). To avoid calling the main method, use the methods #initializeAndRun or #runFromConfig. It works fine.
On Tue, Jun 22, 2010 at 11:58 PM, Ishaaq Chandy <ish...@gmail.com> wrote: > > Also, in relation to this: any update on ZOOKEEPER-575 - in relation to the > System.exit calls? This looks like a potential showstopper for what I want > to achieve. > > Ishaaq > -- > View this message in context: > http://zookeeper-user.578899.n2.nabble.com/integration-tests-tp5211664p5211991.html > Sent from the zookeeper-user mailing list archive at Nabble.com. >