You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Szehon Ho (JIRA)" <ji...@apache.org> on 2014/06/01 03:17:01 UTC

[jira] [Created] (HIVE-7161) TestMetastoreVersion fails intermittently on trunk

Szehon Ho created HIVE-7161:
-------------------------------

             Summary: TestMetastoreVersion fails intermittently on trunk
                 Key: HIVE-7161
                 URL: https://issues.apache.org/jira/browse/HIVE-7161
             Project: Hive
          Issue Type: Bug
            Reporter: Szehon Ho
            Assignee: Szehon Ho


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)