You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@zookeeper.apache.org by Joshua Tuberville <Jo...@eharmony.com> on 2009/02/10 20:34:05 UTC
Testing Zookeeper
To test our zookeeper usage we built a utility class using some of the methods in org.apache.zookeeper.test.ClientBase out of the test folder. This allows testing to be done using any framework JUnit4, JUnit5, TestNG, etc. We would prefer this be in the zookeeper jar. Should I open a JIRA item and include the class?
Thanks,
Joshua
Re: Testing Zookeeper
Posted by Patrick Hunt <ph...@apache.org>.
Yes, please create a new JIRA!
I'd also encourage you to subscribe to the zookeeper-dev list (please
followup/discussion there). All of our technical discussion goes on
there - zookeeper-user is more for support issues on released products.
Thanks,
Patrick
Joshua Tuberville wrote:
> Nitay,
>
> Thanks for pointing out your ticket. I assumed someone had already done the same. I will take a look at your patch and compare to our code. I agree that there should be some common way for tests both internal and external to buildup a server and tear it down.
>
> Joshua
>
> -----Original Message-----
> From: Nitay [mailto:nitayj@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 those to
> yourself and attach your stuff there if it fits your issue.
>
> On Tue, Feb 10, 2009 at 11:44 AM, Mahadev Konar <ma...@yahoo-inc.com>wrote:
>
>> 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" <Jo...@eharmony.com>
>> wrote:
>>
>>> To test our zookeeper usage we built a utility class using some of the
>> methods
>>> in org.apache.zookeeper.test.ClientBase out of the test folder. This
>> allows
>>> testing to be done using any framework JUnit4, JUnit5, TestNG, etc. We
>> would
>>> prefer this be in the zookeeper jar. Should I open a JIRA item and
>> include
>>> the class?
>>>
>>> Thanks,
>>> Joshua
>>
Re: Testing Zookeeper
Posted by Mahadev Konar <ma...@yahoo-inc.com>.
Hi Nitay and Joshua,
It would be great if in the future we could keep these discussions about
development and aptches on zookeeper-dev rather than the user list. The user
list is supposed to be used for released versions and questions from users.
Thanks
mahadev
On 2/10/09 12:51 PM, "Joshua Tuberville" <Jo...@eharmony.com>
wrote:
> Nitay,
>
> Thanks for pointing out your ticket. I assumed someone had already done the
> same. I will take a look at your patch and compare to our code. I agree that
> there should be some common way for tests both internal and external to
> buildup a server and tear it down.
>
> Joshua
>
> -----Original Message-----
> From: Nitay [mailto:nitayj@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 those to
> yourself and attach your stuff there if it fits your issue.
>
> On Tue, Feb 10, 2009 at 11:44 AM, Mahadev Konar <ma...@yahoo-inc.com>wrote:
>
>> 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" <Jo...@eharmony.com>
>> wrote:
>>
>>> To test our zookeeper usage we built a utility class using some of the
>> methods
>>> in org.apache.zookeeper.test.ClientBase out of the test folder. This
>> allows
>>> testing to be done using any framework JUnit4, JUnit5, TestNG, etc. We
>> would
>>> prefer this be in the zookeeper jar. Should I open a JIRA item and
>> include
>>> the class?
>>>
>>> Thanks,
>>> Joshua
>>
>>
RE: Testing Zookeeper
Posted by Joshua Tuberville <Jo...@eharmony.com>.
Nitay,
Thanks for pointing out your ticket. I assumed someone had already done the same. I will take a look at your patch and compare to our code. I agree that there should be some common way for tests both internal and external to buildup a server and tear it down.
Joshua
-----Original Message-----
From: Nitay [mailto:nitayj@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 those to
yourself and attach your stuff there if it fits your issue.
On Tue, Feb 10, 2009 at 11:44 AM, Mahadev Konar <ma...@yahoo-inc.com>wrote:
> 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" <Jo...@eharmony.com>
> wrote:
>
> > To test our zookeeper usage we built a utility class using some of the
> methods
> > in org.apache.zookeeper.test.ClientBase out of the test folder. This
> allows
> > testing to be done using any framework JUnit4, JUnit5, TestNG, etc. We
> would
> > prefer this be in the zookeeper jar. Should I open a JIRA item and
> include
> > the class?
> >
> > Thanks,
> > Joshua
>
>
Re: Testing Zookeeper
Posted by Nitay <ni...@gmail.com>.
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 <ma...@yahoo-inc.com>wrote:
> 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" <Jo...@eharmony.com>
> wrote:
>
> > To test our zookeeper usage we built a utility class using some of the
> methods
> > in org.apache.zookeeper.test.ClientBase out of the test folder. This
> allows
> > testing to be done using any framework JUnit4, JUnit5, TestNG, etc. We
> would
> > prefer this be in the zookeeper jar. Should I open a JIRA item and
> include
> > the class?
> >
> > Thanks,
> > Joshua
>
>
Re: Testing Zookeeper
Posted by Mahadev Konar <ma...@yahoo-inc.com>.
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" <Jo...@eharmony.com>
wrote:
> To test our zookeeper usage we built a utility class using some of the methods
> in org.apache.zookeeper.test.ClientBase out of the test folder. This allows
> testing to be done using any framework JUnit4, JUnit5, TestNG, etc. We would
> prefer this be in the zookeeper jar. Should I open a JIRA item and include
> the class?
>
> Thanks,
> Joshua