[
https://issues.apache.org/jira/browse/HBASE-18496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amit Patel updated HBASE-18496:
-------------------------------
Description:
The tests testPhysicalIsLikelyOfType and testHybridIsLikelyOfType were failing
after the initial commit of core HLC so this patch fixes that. Note that both
Physical#isLikelyOfType and Hybrid#isLikelyOfType will return false if the
input timestamp is from before the first half of the first day of 1970.
Changes
* Offset date by second day of year
* Fixed instance of not properly setting ZonedDateTime in
TestTimestampType#testPhysicalIsLikelyOfType
* Changed timestamp for year 2016 in TimestampType to be UTC+0 instead of UTC+8
was:The tests testPhysicalIsLikelyOfType and testHybridIsLikelyOfType were
failing after the initial commit of core HLC so this patch fixes that. Note
that both Physical#isLikelyOfType and Hybrid#isLikelyOfType will return false
if the input timestamp is from before the first half of the first day of 1970.
> Fix TestTimestampType failing on isLikelyOfType tests
> -----------------------------------------------------
>
> Key: HBASE-18496
> URL: https://issues.apache.org/jira/browse/HBASE-18496
> Project: HBase
> Issue Type: Sub-task
> Reporter: Amit Patel
> Assignee: Amit Patel
> Priority: Trivial
>
> The tests testPhysicalIsLikelyOfType and testHybridIsLikelyOfType were
> failing after the initial commit of core HLC so this patch fixes that. Note
> that both Physical#isLikelyOfType and Hybrid#isLikelyOfType will return false
> if the input timestamp is from before the first half of the first day of 1970.
> Changes
> * Offset date by second day of year
> * Fixed instance of not properly setting ZonedDateTime in
> TestTimestampType#testPhysicalIsLikelyOfType
> * Changed timestamp for year 2016 in TimestampType to be UTC+0 instead of
> UTC+8
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)