Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7D7D41040D for ; Fri, 4 Oct 2013 02:26:43 +0000 (UTC) Received: (qmail 93059 invoked by uid 500); 4 Oct 2013 02:26:42 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 92980 invoked by uid 500); 4 Oct 2013 02:26:42 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 92972 invoked by uid 500); 4 Oct 2013 02:26:42 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 92969 invoked by uid 99); 4 Oct 2013 02:26:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 04 Oct 2013 02:26:42 +0000 Date: Fri, 4 Oct 2013 02:26:42 +0000 (UTC) From: "Phabricator (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-4542) TestJdbcDriver2.testMetaDataGetSchemas fails because of unexpected database MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)