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

Kazuomi Kashii commented on GORA-53:
------------------------------------

Finally, gora-cassandra tests started working after some additional changes.
1) Applied GORA-148, GORA-142, and GORA-149 patches.
2) Uses cassandra-all 1.1.0 (not 1.1.1)
3) gora-cassandra/src/test/conf/gora-cassandra-mapping.xml
keyspace: WebPage -> webpage
family="sc" for parsedContent, outlinks, and metadata

Tests run: 28, Failures: 9, Errors: 5, Skipped: 0


Results :

Failed tests:   
testSchemaExists(org.apache.gora.cassandra.store.TestCassandraStore)
  testUpdate(org.apache.gora.cassandra.store.TestCassandraStore): 
expected:<[content0]> but 
was:<[?^A^@^B^@^@^@^Pget_range_slices^@^@^@5^O^@^@^L^@^@^@^A^K^@^A^@^@^@^Nhttp://a.com/a^O^@^B^L^@^@^@^B^L^@^A^K^@^A^@^@^@^Cc:u^K^@^B^@^@^@^Nhttp://a.com/a(..)
  testGetWebPage(org.apache.gora.cassandra.store.TestCassandraStore): content 
error:<80>^A^@^B^@^@^@^Pget_range_slices^@^@^@=^O^@^@^L^@^@^@^A^K^@^A^@^@^@^Ohttp://foo.com/^O^@^B^L^@^@^@^B^L^@^A^K^@^A^@^@^@^Cc:u^K^@^B^@^@^@^Ohttp://foo.com/(..)
  testQuery(org.apache.gora.cassandra.store.TestCassandraStore): content 
error:<80>^A^@^B^@^@^@^Pget_range_slices^@^@^@O^O^@^@^L^@^@^@(..)
  testQueryStartKey(org.apache.gora.cassandra.store.TestCassandraStore): 
content error:<80>^A^@^B^@^@^@^Pget_range_slices^@^@^@Q^O^@^@^L^@^@^@(..)
  testQueryEndKey(org.apache.gora.cassandra.store.TestCassandraStore): content 
error:<80>^A^@^B^@^@^@^Pget_range_slices^@^@^@]^O^@^@^L^@^@^@^A^K^@^A^@^@^@^Ohttp://bar.com/^O^@^B^L^@^@^@^B^L^@^A^K^@^A^@^@^@^Cc:u^K^@^B^@^@^@^Ohttp://bar.com/(..)
  testQueryKeyRange(org.apache.gora.cassandra.store.TestCassandraStore): 
content 
error:<80>^A^@^B^@^@^@^Pget_range_slices^@^@^@[^O^@^@^L^@^@^@^A^K^@^A^@^@^@^Ohttp://bar.com/^O^@^B^L^@^@^@^B^L^@^A^K^@^A^@^@^@^Cc:u^K^@^B^@^@^@^Ohttp://bar.com/(..)
  
testQueryWebPageSingleKey(org.apache.gora.cassandra.store.TestCassandraStore): 
content 
error:<80>^A^@^B^@^@^@^Pget_range_slices^@^@^@j^O^@^@^L^@^@^@^A^K^@^A^@^@^@^Ohttp://foo.com/^O^@^B^L^@^@^@^B^L^@^A^K^@^A^@^@^@^Cc:u^K^@^B^@^@^@^Ohttp://foo.com/(..)
  testDelete(org.apache.gora.cassandra.store.TestCassandraStore)

Tests in error:
  
testGetWebPageDefaultFields(org.apache.gora.cassandra.store.TestCassandraStore)
  
testQueryWebPageSingleKeyDefaultFields(org.apache.gora.cassandra.store.TestCassandraStore)
  testDeleteByQuery(org.apache.gora.cassandra.store.TestCassandraStore)
  testDeleteByQueryFields(org.apache.gora.cassandra.store.TestCassandraStore)
  testGetPartitions(org.apache.gora.cassandra.store.TestCassandraStore)

Tests run: 28, Failures: 9, Errors: 5, Skipped: 0

[ERROR] There are test failures.

                
> 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, 
> GORA-test.patch, test.txt
>
>
> 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/[email protected]/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

        

Reply via email to