You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "niklaus xiao (JIRA)" <ji...@apache.org> on 2016/07/14 01:02:20 UTC

[jira] [Updated] (HIVE-14234) TestHiveMetaStorePartitionSpecs does not drop database created in this test causes other test failure

     [ https://issues.apache.org/jira/browse/HIVE-14234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

niklaus xiao updated HIVE-14234:
--------------------------------
    Fix Version/s: 1.3.0
           Status: Patch Available  (was: Open)

> TestHiveMetaStorePartitionSpecs does not drop database created in this test causes other test failure
> -----------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-14234
>                 URL: https://issues.apache.org/jira/browse/HIVE-14234
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 2.1.0, 1.3.0
>            Reporter: niklaus xiao
>            Assignee: niklaus xiao
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> TestHiveMetaStorePartitionSpecs creates a database named testpartitionspecs_db, but never drop it, sometimes causes TestObjectStore#testDatabaseOps failed:
> {code}
> testDatabaseOps(org.apache.hadoop.hive.metastore.TestObjectStore)  Time elapsed: 0.188 sec  <<< FAILURE!
> java.lang.AssertionError: expected:<2> but was:<3>
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.failNotEquals(Assert.java:743)
> 	at org.junit.Assert.assertEquals(Assert.java:118)
> 	at org.junit.Assert.assertEquals(Assert.java:555)
> 	at org.junit.Assert.assertEquals(Assert.java:542)
> 	at org.apache.hadoop.hive.metastore.TestObjectStore.testDatabaseOps(TestObjectStore.java:120)
> {code}



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