Re: integration tests

2010-06-23 Thread Ishaaq Chandy
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

Re: integration tests

2010-06-23 Thread Benjamin Reed
we do this in our tests for ZooKeeper. bookkeeper uses the testing classes as well, unfortunately, we haven't documented the interface. ben On 06/22/2010 08:42 PM, Ishaaq Chandy wrote: Hi all, First some background: 1. We use maven as our build tool. 2. We use Hudson as our CI server, it is

Re: integration tests

2010-06-23 Thread Alexis Midon
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