Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Not A Problem
-
None
-
None
-
None
-
None
Description
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).
Attachments
Issue Links
- relates to
-
ACCUMULO-3448 ZooUtil throws exception even when retry succeeds
- Resolved