Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7468

Metastore unit tests may fail when used sources from the release archive

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.17.0
    • Fix Version/s: 1.17.0
    • Component/s: None
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                volodymyr Vova Vysotskyi
                Reporter:
                volodymyr Vova Vysotskyi
                Reviewer:
                Arina Ielchiieva
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: