Peter Somogyi created HBASE-29543:
-------------------------------------

             Summary: 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
            Reporter: Peter Somogyi
            Assignee: Peter Somogyi


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)

Reply via email to