hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Patel (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-18496) Fix TestTimestampType failing on isLikelyOfType tests
Date Tue, 01 Aug 2017 20:02:00 GMT

     [ 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)

Mime
View raw message