[ https://issues.apache.org/jira/browse/HIVE-4542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Phabricator updated HIVE-4542: ------------------------------ Attachment: D13269.2.patch vaibhavgumashta updated the revision "HIVE-4542 [jira] TestJdbcDriver2.testMetaDataGetSchemas fails because of unexpected database". Rebased on current trunk, some minor changes to make TestJdbcDriver2 fit Junit 4.x Reviewers: JIRA REVISION DETAIL https://reviews.facebook.net/D13269 CHANGE SINCE LAST DIFF https://reviews.facebook.net/D13269?vs=40953&id=40965#toc AFFECTED FILES jdbc/src/test/org/apache/hive/jdbc/TestJdbcDriver2.java ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHiveMetaStoreChecker.java To: JIRA, vaibhavgumashta Cc: thejas, ashutoshc > 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 > Attachments: D13269.1.patch, D13269.2.patch, 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 was sent by Atlassian JIRA (v6.1#6144)