Tsz-wo Sze created RATIS-1271:
---------------------------------
Summary: Bump mockito version
Key: RATIS-1271
URL: https://issues.apache.org/jira/browse/RATIS-1271
Project: Ratis
Issue Type: Improvement
Components: build, test
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
We should bump mockito for the following todo in /LogSegment.
{code}
public class LogSegment implements Comparable<Long> {
//TODO: This class needs to be made final to address checkstyle issue.
However, TestCacheEviction fails as Mockito
// cannot spy final class. This problem can be fixed when stable version of
Mockito 2.x is available which provides
// a feature to mock final class/method.
{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)