[
https://issues.apache.org/jira/browse/RANGER-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16513595#comment-16513595
]
Zsombor Gegesy commented on RANGER-2132:
----------------------------------------
Unfortunately it seems, that TestDateUtil.testGetLocalDateForUTCDate fails when
the current date in local timezone is different than the current date in UTC.
This is caused by that the 'offset' is substracted from the utc calendar, and
not added. And this issue was hidden previously, because only the date and the
minutes are compared, not the hours.
> Add unit tests for org.apache.ranger.common package
> ---------------------------------------------------
>
> Key: RANGER-2132
> URL: https://issues.apache.org/jira/browse/RANGER-2132
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Reporter: bhavik patel
> Assignee: bhavik patel
> Priority: Critical
> Attachments: RANGER-2132-master-01.patch,
> RANGER-2132-master-03.patch, RANGER-2132-master.patch
>
>
> Add unit tests for org.apache.ranger.common package
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)