You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Josh Elser (JIRA)" <ji...@apache.org> on 2015/04/05 07:03:33 UTC

[jira] [Updated] (ACCUMULO-3285) Remove static methods from ZooUtil and make a factory for instances.

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

Josh Elser updated ACCUMULO-3285:
---------------------------------
    Fix Version/s:     (was: 1.7.0)
                   1.8.0

> 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.8.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)