sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anne Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SENTRY-724) Unit Test failure: org.junit.ComparisonFailure: expected:<db_1[.db_1]__tb_1_index_1__> but was:<db_1[]__tb_1_index_1__>
Date Mon, 11 May 2015 18:05:00 GMT
Anne Yu created SENTRY-724:
------------------------------

             Summary: Unit Test failure: org.junit.ComparisonFailure: expected:<db_1[.db_1]__tb_1_index_1__>
but was:<db_1[]__tb_1_index_1__>
                 Key: SENTRY-724
                 URL: https://issues.apache.org/jira/browse/SENTRY-724
             Project: Sentry
          Issue Type: Bug
            Reporter: Anne Yu
            Assignee: Anne Yu
            Priority: Blocker


{code}
04:10:24 testShowIndexes1(org.apache.sentry.tests.e2e.dbprovider.TestDbMetadataObjectRetrieval)
 Time elapsed: 8.913 sec  <<< FAILURE!
04:10:24 org.junit.ComparisonFailure: expected:<db_1[.db_1]__tb_1_index_1__> but was:<db_1[]__tb_1_index_1__>
04:10:24 	at org.junit.Assert.assertEquals(Assert.java:125)
04:10:24 	at org.junit.Assert.assertEquals(Assert.java:147)
04:10:24 	at org.apache.sentry.tests.e2e.hive.TestMetadataObjectRetrieval.verifyIndex(TestMetadataObjectRetrieval.java:394)
04:10:24 	at org.apache.sentry.tests.e2e.hive.TestMetadataObjectRetrieval.testShowIndexes1(TestMetadataObjectRetrieval.java:378)
04:10:24 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
04:10:24 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
04:10:24 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
04:10:24 	at java.lang.reflect.Method.invoke(Method.java:606)
04:10:24 	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
04:10:24 	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
04:10:24 	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
04:10:24 	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
04:10:24 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
04:10:24 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
04:10:24 	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
04:10:24 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
04:10:24 	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
04:10:24 	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
04:10:24 	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
04:10:24 	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
04:10:24 	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
04:10:24 	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
04:10:24 	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
04:10:24 	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
04:10:24 	at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
04:10:24 	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
04:10:24 	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
04:10:24 	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
04:10:24 	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
04:10:24 	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
04:10:24 	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
{code}

{code}
Error Message

expected:<db_1[.db_1]__tb_1_index_1__> but was:<db_1[]__tb_1_index_1__>
Stacktrace

org.junit.ComparisonFailure: expected:<db_1[.db_1]__tb_1_index_1__> but was:<db_1[]__tb_1_index_1__>
	at org.junit.Assert.assertEquals(Assert.java:125)
	at org.junit.Assert.assertEquals(Assert.java:147)
	at org.apache.sentry.tests.e2e.hive.TestMetadataObjectRetrieval.verifyIndex(TestMetadataObjectRetrieval.java:394)
	at org.apache.sentry.tests.e2e.hive.TestMetadataObjectRetrieval.testShowIndexes1(TestMetadataObjectRetrieval.java:378)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:69)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:292)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:264)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:124)
	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)
{code}



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

Mime
View raw message