[ 
https://issues.apache.org/jira/browse/DRILL-7710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17089043#comment-17089043
 ] 

ASF GitHub Bot commented on DRILL-7710:
---------------------------------------

vvysotskyi commented on issue #2065:
URL: https://github.com/apache/drill/pull/2065#issuecomment-617398174


   @arina-ielchiieva, thanks for the review and pointing to 
`TestInfoSchemaWithMetastore` test!
   
   `TemporaryFolder.getRoot()` returns the absolute path, so it was safe. But I 
have replaced it with `dirTestWatcher` and made a similar changes to be 
consistent.


----------------------------------------------------------------
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]


> Fix TestMetastoreCommands#testDefaultSegment test
> -------------------------------------------------
>
>                 Key: DRILL-7710
>                 URL: https://issues.apache.org/jira/browse/DRILL-7710
>             Project: Apache Drill
>          Issue Type: Bug
>    Affects Versions: 1.17.0
>            Reporter: Arina Ielchiieva
>            Assignee: Vova Vysotskyi
>            Priority: Major
>             Fix For: 1.18.0
>
>
> Test {{TestMetastoreCommands#testDefaultSegment}} sometimes fails:
> {noformat}
> [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]>
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to