You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Nitay Joffe (JIRA)" <ji...@apache.org> on 2009/01/26 20:12:00 UTC

[jira] Created: (ZOOKEEPER-278) Create a test jar

Create a test jar
-----------------

                 Key: ZOOKEEPER-278
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-278
             Project: Zookeeper
          Issue Type: Improvement
          Components: tests
            Reporter: Nitay Joffe
            Priority: Minor


I am working on integrating ZooKeeper into HBase. I've found myself copying a lot of the test infrastructure code from places like zk.t.QuorumTest to create classes like MiniZooKeeper so that I can test my new additions in HBase. I think things would be a lot easier if we shipped a ZooKeeper test jar for others to use. Additionally, I think we should clean up the test code a bit so that the tests use some common infrastructure rather than each doing its own setup/teardown of a ZK cluster. I believe this is how things are done for testing Hadoop things HBase.

For more context, see hbase-1144.patch in https://issues.apache.org/jira/browse/HBASE-1144

I would do this myself but I can't currently contribute to Apache projects other than HBase because of company issues. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (ZOOKEEPER-278) Create a test jar

Posted by "Patrick Hunt (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667842#action_12667842 ] 

Patrick Hunt commented on ZOOKEEPER-278:
----------------------------------------

We've pushed a bunch of common test functionality into ClientBase, including much of the setup/teardown. However there are still some cases where we could do better. ;-)

3.1 is adding system test support so hopefully this will get better as we move things that are really system tests into system test and out of unit test.


> Create a test jar
> -----------------
>
>                 Key: ZOOKEEPER-278
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-278
>             Project: Zookeeper
>          Issue Type: Improvement
>          Components: tests
>            Reporter: Nitay Joffe
>            Priority: Minor
>
> I am working on integrating ZooKeeper into HBase. I've found myself copying a lot of the test infrastructure code from places like zk.t.QuorumTest to create classes like MiniZooKeeper so that I can test my new additions in HBase. I think things would be a lot easier if we shipped a ZooKeeper test jar for others to use. Additionally, I think we should clean up the test code a bit so that the tests use some common infrastructure rather than each doing its own setup/teardown of a ZK cluster. I believe this is how things are done for testing Hadoop things HBase.
> For more context, see hbase-1144.patch in https://issues.apache.org/jira/browse/HBASE-1144
> I would do this myself but I can't currently contribute to Apache projects other than HBase because of company issues. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.