RE: Testing zookeeper outside the source distribution?

2010-10-18 Thread Fournier, Camille F. [Tech]
- From: Benjamin Reed [mailto:br...@yahoo-inc.com] Sent: Monday, October 18, 2010 11:12 AM To: zookeeper-user@hadoop.apache.org Subject: Re: Testing zookeeper outside the source distribution? we should be exposing those classes and releasing them as a testing jar. do you want to open up a jira to

Re: Testing zookeeper outside the source distribution?

2010-10-18 Thread Patrick Hunt
You might checkout a tool I built a while back to be used by operations teams deploying ZooKeeper: http://bit.ly/a6tGVJ It's really two tools actually, a smoketester and a latency tester, both of which are important to verify when deploying a new cluster. Patrick On Mon, Oct 18, 2010 at 9:50 AM,

Re: Testing zookeeper outside the source distribution?

2010-10-18 Thread Patrick Hunt
You might checkout a tool I built a while back to be used by operations teams deploying ZooKeeper: http://bit.ly/a6tGVJ It's really two tools actually, a smoketester and a latency tester, both of which are important to verify when deploying a new cluster. Patrick On Mon, Oct 18, 2010 at 9:50 AM,

Re: Testing zookeeper outside the source distribution?

2010-10-18 Thread Ted Dunning
Generally, I think a better way to do this is to use a standard mock object framework. Then you don't have to fake up an interface. But the original poster probably has a need to do integration tests more than unit tests. In such tests, they need to test against a real ZK to make sure that their

Re: Testing zookeeper outside the source distribution?

2010-10-18 Thread David Rosenstrauch
On 10/18/2010 08:17 AM, Anthony Urso wrote: Anyone have any pointers on how to test against ZK outside of the source distribution? All the fun classes (e.g. ClientBase) do not make it into the ZK release jar. Right now I am manually running a ZK node for the unit tests to connect to prior to run

Re: Testing zookeeper outside the source distribution?

2010-10-18 Thread Benjamin Reed
we should be exposing those classes and releasing them as a testing jar. do you want to open up a jira to track this issue? ben On 10/18/2010 05:17 AM, Anthony Urso wrote: Anyone have any pointers on how to test against ZK outside of the source distribution? All the fun classes (e.g. ClientBa

Testing zookeeper outside the source distribution?

2010-10-18 Thread Anthony Urso
Anyone have any pointers on how to test against ZK outside of the source distribution? All the fun classes (e.g. ClientBase) do not make it into the ZK release jar. Right now I am manually running a ZK node for the unit tests to connect to prior to running my test, but I would rather have somethin