[
https://issues.apache.org/jira/browse/HBASE-29543?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Somogyi updated HBASE-29543:
----------------------------------
Fix Version/s: 2.7.0
2.6.4
Resolution: Fixed
Status: Resolved (was: Patch Available)
Merged to branch-2 and branch-2.6. Thanks for the review [~andor]!
> TestFileChangeWatcher fails with Java 8 due to file modification time
> granularity issue
> ---------------------------------------------------------------------------------------
>
> Key: HBASE-29543
> URL: https://issues.apache.org/jira/browse/HBASE-29543
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.6.0, 2.7.0
> Reporter: Peter Somogyi
> Assignee: Peter Somogyi
> Priority: Minor
> Labels: pull-request-available
> Fix For: 2.7.0, 2.6.4
>
>
> Tests comparing file modification times fail on JDK8 because
> Files.readAttributes() returns modification times with only second-level
> granularity, not millisecond precision as seen in JDK11 and newer. This
> causes equality or comparison checks on file times to break when the actual
> times differ by milliseconds.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)