[
https://issues.apache.org/jira/browse/DRILL-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16989802#comment-16989802
]
ASF GitHub Bot commented on DRILL-7468:
---------------------------------------
vvysotskyi commented on pull request #1917: DRILL-7468: Metastore unit tests
may fail when used sources from the release archive
URL: https://github.com/apache/drill/pull/1917
Jira - [DRILL-7468](https://issues.apache.org/jira/browse/DRILL-7468).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Metastore unit tests may fail when used sources from the release archive
> ------------------------------------------------------------------------
>
> Key: DRILL-7468
> URL: https://issues.apache.org/jira/browse/DRILL-7468
> Project: Apache Drill
> Issue Type: Bug
> Affects Versions: 1.17.0
> Reporter: Vova Vysotskyi
> Assignee: Vova Vysotskyi
> Priority: Blocker
> Fix For: 1.17.0
>
>
> Some metastore unit tests use some checks for a table last modification time.
> For the case when project sources are fetched from the release archive, these
> tests may fail because when tests files are copied using java, their last
> modification time wasn't updated, but tests use directory last modification
> time, and therefore expected and actual values may differ.
> The solution is to use the same logic for determining the last modification
> time for a table in tests as it is used in the metastore implementation.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)