[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jordan Zimmerman updated ZOOKEEPER-2274:
----------------------------------------
    Attachment: ZOOKEEPER-2274.2.patch

> ZooKeeperServerMain is difficult to subclass for unit testing
> -------------------------------------------------------------
>
>                 Key: ZOOKEEPER-2274
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2274
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server, tests
>    Affects Versions: 3.5.1
>            Reporter: Jordan Zimmerman
>         Attachments: ZOOKEEPER-2274.2.patch, ZOOKEEPER-2274.patch
>
>
> Apache Curator needs a testable version of ZooKeeperServerMain. In the past, 
> Curator has used javassist, reflection, etc. but this is all clumsy. With a 
> few trivial changes, Curator could use ZooKeeperServerMain directly by 
> subclassing.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to