[ 
https://issues.apache.org/jira/browse/HBASE-24898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17184847#comment-17184847
 ] 

Zheng Wang commented on HBASE-24898:
------------------------------------

Thanks for the suggestion, actually i fixed it in similar way. [~apurtell]

 
{code:java}
for (String zoneID : TimeZone.getAvailableIDs()) {
 TimeZone timezone = TimeZone.getTimeZone(zoneID);
 TimeZone.setDefault(timezone);
...
}
{code}
 

> 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
>             Fix For: 3.0.0-alpha-1, 1.7.0, 2.4.0, 2.2.7, 2.3.2
>
>
> In order to control the return value of getCurrentHour used by unit test.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to