Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper >> mail # user >> Unit Testing ZooKeeper Based Application


Copy link to this message
-
Re: Unit Testing ZooKeeper Based Application
Curator provides an in-memory ZooKeeper Server and ZooKeeper Cluster:

<dependency>
    <groupId>com.netflix.curator</groupId>
    <artifactId>curator-test</artifactId>
    <version>1.1.2</version>
</dependency>

https://github.com/Netflix/curator/tree/master/curator-test/src/main/java/c
om/netflix/curator/test

On 2/21/12 3:31 PM, "Amirhossein Kiani" <[EMAIL PROTECTED]> wrote:

>Hi ZooKeeper users,
>
>I was wondering if there is a correct way of writing unit tests for a
>ZooKeeper application. I have looked at Twitter's tests but have been
>unable to get them to work... I was wondering if there is a more generic
>way of creating the in-process ZooKeeper server for testing.
>
>Many thanks,
>Amir
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB