Description
TestMetastoreVersion#testDefaults sometimes fails with:
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)
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.