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

Thejas M Nair commented on HIVE-4542:
-------------------------------------

HIVE-4542.2.patch - also includes changes to test asserts to print more useful 
message on failure.

                
> TestJdbcDriver2.testMetaDataGetSchemas fails because of unexpected database
> ---------------------------------------------------------------------------
>
>                 Key: HIVE-4542
>                 URL: https://issues.apache.org/jira/browse/HIVE-4542
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.12.0
>            Reporter: Thejas M Nair
>            Assignee: Thejas M Nair
>         Attachments: HIVE-4542.1.patch, HIVE-4542.2.patch
>
>
> The check for database name in TestJdbcDriver2.testMetaDataGetSchemas fails 
> with the error -
> {code}
> junit.framework.ComparisonFailure: expected:<...efault> but was:<...bname>
> {code}
> ie, a database called dbname is found, which it does not expect. This failure 
> will happen depending on the order in which the function get the databases, 
> if "default" database is the first one, it succeeds.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to