You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Flavio Junqueira (JIRA)" <ji...@apache.org> on 2014/04/15 11:29:21 UTC

[jira] [Commented] (ZOOKEEPER-1824) We need a MiniZooKeeperCluster for unit test

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13969374#comment-13969374 ] 

Flavio Junqueira commented on ZOOKEEPER-1824:
---------------------------------------------

Hi there, what about o.a.zk.test.QuorumBase? 

> We need a MiniZooKeeperCluster for unit test
> --------------------------------------------
>
>                 Key: ZOOKEEPER-1824
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1824
>             Project: ZooKeeper
>          Issue Type: Test
>          Components: tests
>            Reporter: chendihao
>            Assignee: Abhiraj Butala
>
> We are developing a timestamp server to offer a precise auto increasing timestamp for other processes. ZooKeeper is used to select the master and store the persistent max offered timestamp. 
> Now I'm not sure if the zookeeper servers work well no matter how much I damage the cluster randomly. So we need unit tests but ZooKeeper doesn't provides a single-process  cluster for us. Should we implement the similar code like what HBase did in MiniZooKeeperCluster.java ?
> ref https://issues.apache.org/jira/browse/HBASE-2218



--
This message was sent by Atlassian JIRA
(v6.2#6252)