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

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 1.17.0
    • 1.17.0
    • None

    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

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

              Dates

                Created:
                Updated:
                Resolved: