accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ACCUMULO-3285) Remove static methods from ZooUtil and make a factory for instances.
Date Thu, 26 Mar 2015 21:46:54 GMT

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

Josh Elser updated ACCUMULO-3285:
---------------------------------
    Assignee:     (was: Josh Elser)

> Remove static methods from ZooUtil and make a factory for instances.
> --------------------------------------------------------------------
>
>                 Key: ACCUMULO-3285
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3285
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Josh Elser
>             Fix For: 1.7.0
>
>
> In fixing ACCUMULO-2727, I wanted to write a unit test to be sure we properly retry when
we get a BadVersion exception. 
> To get ZooKeeper to throw the exceptions I want it to, I really want to use EasyMock.
However, to get mocking of static methods, I'd have to pull in PowerMock which I really don't
want to do.
> We should just take ZooUtil and wrap a factory around it to make some instances (or anything
else that will ultimately remove the static methods).



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

Mime
View raw message