[
https://issues.apache.org/jira/browse/HIVE-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vaibhav Gumashta updated HIVE-4542:
-----------------------------------
Attachment: HIVE-4542.3.patch
Rebased on Hive-0.12. Although the older patch applied fine for me (patch -p1).
> 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: Vaibhav Gumashta
> Fix For: 0.13.0
>
> Attachments: D13269.1.patch, D13269.2.patch, HIVE-4542.1.patch,
> HIVE-4542.2.patch, HIVE-4542.3.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 was sent by Atlassian JIRA
(v6.1#6144)