Vova Vysotskyi created DRILL-7468:
-------------------------------------
Summary: 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
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)