[
https://issues.apache.org/jira/browse/HBASE-24898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17180317#comment-17180317
]
Duo Zhang commented on HBASE-24898:
-----------------------------------
OK, so it will create a new Calendar, then the name of the method is
misleading...
> Use EnvironmentEdge.currentTime() instead of System.currentTimeMillis() in
> CurrentHourProvider
> ----------------------------------------------------------------------------------------------
>
> Key: HBASE-24898
> URL: https://issues.apache.org/jira/browse/HBASE-24898
> Project: HBase
> Issue Type: Bug
> Components: tooling
> Reporter: Zheng Wang
> Assignee: Zheng Wang
> Priority: Major
>
> In order to control the return value of getCurrentHour used by unit test.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)