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

Andrew Kyle Purtell commented on HBASE-24898:
---------------------------------------------

Glad to see its a simple problem. It suggests for time/date/timezone related 
tests, the test should be parameterized to run with local timezone set to list 
selected from various zones around the world. Daylight savings in particular 
has been a long time problem with computers and time: some zones have it, some 
do not. It is a throwback to an earlier pastoral age where most people farmed 
or worked on farms or for farmers, but yet it is still with us in some locales. 

When the addendum is ready the original patch and addendum can be applied back 
to branch-1, thank you in advance.

> 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