gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-53) Add Gora-Cassandra tests
Date Thu, 12 Jul 2012 12:58:35 GMT

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

Lewis John McGibbney commented on GORA-53:
------------------------------------------

I get 1 failure and 52 errors. A number of complains in all honesty.
I'm firstly going to investigate the following one as it occurs on the first test in the suite
and also consistently throughout the entire test suite. 

{code}
testNewInstance(org.apache.gora.cassandra.store.TestCassandraStore)  Time elapsed: 19.749
sec  <<< ERROR!
me.prettyprint.hector.api.exceptions.HInvalidRequestException: InvalidRequestException(why:Cannot
drop non existing keyspace 'Employee'.)
	at me.prettyprint.cassandra.service.ExceptionsTranslatorImpl.translate(ExceptionsTranslatorImpl.java:45)
	at me.prettyprint.cassandra.service.AbstractCluster$5.execute(AbstractCluster.java:231)
	at me.prettyprint.cassandra.service.AbstractCluster$5.execute(AbstractCluster.java:218)
	at me.prettyprint.cassandra.service.Operation.executeAndSetResult(Operation.java:103)
	at me.prettyprint.cassandra.connection.HConnectionManager.operateWithFailover(HConnectionManager.java:246)
	at me.prettyprint.cassandra.service.AbstractCluster.dropKeyspace(AbstractCluster.java:235)
	at me.prettyprint.cassandra.service.AbstractCluster.dropKeyspace(AbstractCluster.java:213)
	at org.apache.gora.cassandra.store.CassandraClient.dropKeyspace(CassandraClient.java:128)
	at org.apache.gora.cassandra.store.CassandraStore.deleteSchema(CassandraStore.java:118)
	at org.apache.gora.GoraTestDriver.tearDown(GoraTestDriver.java:92)
	at org.apache.gora.store.DataStoreTestBase.tearDown(DataStoreTestBase.java:112)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:36)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
	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:30)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:236)
	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:134)
	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:113)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
	at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
	at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:103)
	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:74)
Caused by: InvalidRequestException(why:Cannot drop non existing keyspace 'Employee'.)
	at org.apache.cassandra.thrift.Cassandra$system_drop_keyspace_result.read(Cassandra.java:30808)
	at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
	at org.apache.cassandra.thrift.Cassandra$Client.recv_system_drop_keyspace(Cassandra.java:1314)
	at org.apache.cassandra.thrift.Cassandra$Client.system_drop_keyspace(Cassandra.java:1301)
	at me.prettyprint.cassandra.service.AbstractCluster$5.execute(AbstractCluster.java:225)
	... 40 more
{code} 
                
> Add Gora-Cassandra tests
> ------------------------
>
>                 Key: GORA-53
>                 URL: https://issues.apache.org/jira/browse/GORA-53
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: storage-cassandra
>    Affects Versions: 0.1.1-incubating
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Critical
>             Fix For: 0.3
>
>         Attachments: GORA-53-v2.patch, GORA-53.patch, GORA-54-v8.patch
>
>
> As per this thread [1], it is absolutely essential that we get some tests for the Cassandra
module. Therefore this task should act as a summary task to manage all test which are hereby
proposed.
> Realistically, this is going to take a good while, so I have marked it for 0.2 and 0.3-incubating
releases.
> [1] http://www.mail-archive.com/gora-dev@incubator.apache.org/msg00241.html 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message