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

Ashutosh Chauhan commented on HIVE-7161:
----------------------------------------

+1

> TestMetastoreVersion fails intermittently on trunk
> --------------------------------------------------
>
>                 Key: HIVE-7161
>                 URL: https://issues.apache.org/jira/browse/HIVE-7161
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Szehon Ho
>            Assignee: Szehon Ho
>         Attachments: HIVE-7161.patch
>
>
> TestMetastoreVersion#testDefaults sometimes fails with:
> {noformat}
> junit.framework.AssertionFailedError: null
>       at junit.framework.Assert.fail(Assert.java:48)
>       at junit.framework.Assert.assertTrue(Assert.java:20)
>       at junit.framework.Assert.assertFalse(Assert.java:34)
>       at junit.framework.Assert.assertFalse(Assert.java:41)
>       at 
> org.apache.hadoop.hive.metastore.TestMetastoreVersion.testDefaults(TestMetastoreVersion.java:73)
> {noformat}
> This also looks like it is because of random test order.  My hypothesis is 
> that other tests set the System property 
> "hive.metastore.schema.verification.", then if testDefaults doesnt run first, 
> it will pick that up and assertion fails.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to