You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Appy (JIRA)" <ji...@apache.org> on 2017/08/01 20:40:00 UTC

[jira] [Resolved] (HBASE-18496) Fix TestTimestampType failing on isLikelyOfType tests

     [ https://issues.apache.org/jira/browse/HBASE-18496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Appy resolved HBASE-18496.
--------------------------
    Resolution: Fixed

> 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
>         Attachments: HBASE-18496.HBASE-14070.HLC.001.patch
>
>
> 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)