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

Fix TestMetastoreCommands#testDefaultSegment test

    XMLWordPrintableJSON

    Details

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

      Description

      Test TestMetastoreCommands#testDefaultSegment sometimes fails:

      [ERROR]   TestMetastoreCommands.testDefaultSegment:1870 expected:<SegmentMetadata[
      column=null,
      path=/root/drillAutomation/builds/drill/exec/java-exec/target/org.apache.drill.exec.sql.TestMetastoreCommands/dfsTestTmp/1587168639522-0/multilevel/parquet/1994/Q1,
      partitionValues=null,
      locations=[/root/drillAutomation/builds/drill/exec/java-exec/target/org.apache.drill.exec.sql.TestMetastoreCommands/dfsTestTmp/1587168639522-0/multilevel/parquet/1994/Q1/orders_94_q1.parquet],
      tableInfo=TableInfo[storagePlugin=dfs, workspace=tmp, name=multilevel/parquet/1994/Q1, type=null, owner=null],
      metadataInfo=MetadataInfo[type=SEGMENT, key=DEFAULT_SEGMENT, identifier=null],
      schema=null,
      columnsStatistics={},
      metadataStatistics={},
      lastModifiedTime=1587167178000]> but was:<SegmentMetadata[
      column=null,
      path=/root/drillAutomation/builds/drill/exec/java-exec/target/org.apache.drill.exec.sql.TestMetastoreCommands/dfsTestTmp/1587125640835-0/multilevel/parquet/1994/Q1,
      partitionValues=null,
      locations=[/root/drillAutomation/builds/drill/exec/java-exec/target/org.apache.drill.exec.sql.TestMetastoreCommands/dfsTestTmp/1587125640835-0/multilevel/parquet/1994/Q1/orders_94_q1.parquet],
      tableInfo=TableInfo[storagePlugin=dfs, workspace=tmp, name=multilevel/parquet/1994/Q1, type=null, owner=null],
      metadataInfo=MetadataInfo[type=SEGMENT, key=DEFAULT_SEGMENT, identifier=DEFAULT_SEGMENT],
      schema=null,
      columnsStatistics={},
      metadataStatistics={},
      lastModifiedTime=1587124183000]>
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: