drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Westin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-3224) DrillTestWrapper test-failure message doesn't show actual values
Date Tue, 02 Jun 2015 20:27:49 GMT

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

Chris Westin commented on DRILL-3224:
-------------------------------------

Is this a duplicate of DRILL-3205?

> DrillTestWrapper test-failure message doesn't show actual values
> ----------------------------------------------------------------
>
>                 Key: DRILL-3224
>                 URL: https://issues.apache.org/jira/browse/DRILL-3224
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>            Reporter: Daniel Barclay (Drill)
>            Assignee: Steven Phillips
>
> For at least one of the test-failure (validation) error messages from DrillTestWrapper,
the message does not include the actual values.
> Note how the message below does tell you what was expected (redundant with what's in
the test source code, but still convenient), but doesn't tell you what the test actually got
(not available elsewhere (before/without debugging)).
> {noformat}
> java.lang.Exception: Did not find expected record in result set: `CHARACTER_MAXIMUM_LENGTH`
: -1, `COLUMN_NAME` : inttype, `NUMERIC_SCALE` : -1, `DATA_TYPE` : INTEGER, `NUMERIC_PRECISION`
: -1, 
> 	at org.apache.drill.DrillTestWrapper.compareResults(DrillTestWrapper.java:541)
> 	at org.apache.drill.DrillTestWrapper.compareUnorderedResults(DrillTestWrapper.java:295)
> 	at org.apache.drill.DrillTestWrapper.run(DrillTestWrapper.java:119)
> 	at org.apache.drill.TestBuilder.go(TestBuilder.java:125)
> 	at org.apache.drill.exec.hive.TestInfoSchemaOnHiveStorage.varCharMaxLengthAndDecimalPrecisionInInfoSchema(TestInfoSchemaOnHiveStorage.java:94)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> 	at java.lang.reflect.Method.invoke(Method.java:606)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message