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

Re: Testing Zookeeper

2009-02-10 Thread Patrick Hunt
ssage- From: Nitay [mailto:nit...@gmail.com] Sent: Tuesday, February 10, 2009 12:46 PM To: zookeeper-user@hadoop.apache.org Subject: Re: Testing Zookeeper Joshua, There may already be some JIRAs open regarding this, e.g. https://issues.apache.org/jira/browse/ZOOKEEPER-278. You can assign tho

Re: Testing Zookeeper

2009-02-10 Thread Mahadev Konar
up a server and tear it down. > > Joshua > > -Original Message- > From: Nitay [mailto:nit...@gmail.com] > Sent: Tuesday, February 10, 2009 12:46 PM > To: zookeeper-user@hadoop.apache.org > Subject: Re: Testing Zookeeper > > Joshua, > > T

RE: Testing Zookeeper

2009-02-10 Thread Joshua Tuberville
Message- From: Nitay [mailto:nit...@gmail.com] Sent: Tuesday, February 10, 2009 12:46 PM To: zookeeper-user@hadoop.apache.org Subject: Re: Testing Zookeeper Joshua, There may already be some JIRAs open regarding this, e.g. https://issues.apache.org/jira/browse/ZOOKEEPER-278. You can assign

Re: Testing Zookeeper

2009-02-10 Thread Nitay
Joshua, There may already be some JIRAs open regarding this, e.g. https://issues.apache.org/jira/browse/ZOOKEEPER-278. You can assign those to yourself and attach your stuff there if it fits your issue. On Tue, Feb 10, 2009 at 11:44 AM, Mahadev Konar wrote: > HI Joshua, > Feel free to open a ji

Re: Testing Zookeeper

2009-02-10 Thread Mahadev Konar
HI Joshua, Feel free to open a jira and attach a patch. Please take a look at how to contribute: http://wiki.apache.org/hadoop/ZooKeeper/HowToContribute Thanks mahadev On 2/10/09 11:34 AM, "Joshua Tuberville" wrote: > To test our zookeeper usage we built a utility class using some of the me