[ 
https://issues.apache.org/jira/browse/CASSANDRA-5491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jonathan Ellis updated CASSANDRA-5491:
--------------------------------------

    Attachment: 5491-test.txt

Patch to make the change in RowIndexEntry.
                
> RangeTombstoneTest does not test indexed name queries which are probably 
> broken
> -------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5491
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5491
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.2.0
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>             Fix For: 1.2.5
>
>         Attachments: 5491-test.txt
>
>
> As described in 
> https://issues.apache.org/jira/browse/CASSANDRA-5487?focusedCommentId=13634785&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13634785,
>  RangeTombstoneTest only exercises the readSimpleColumns path in 
> SSTableNamesIterator.  If RowIndexEntry.create is tweaked to create 
> single-entry indexes, readIndexedColumns fails the test:
> {noformat}
>     [junit] Testcase: 
> simpleQueryWithRangeTombstoneTest(org.apache.cassandra.db.RangeTombstoneTest):
>   FAILED
>     [junit] Column 12 shouldn't be live
>     [junit] junit.framework.AssertionFailedError: Column 12 shouldn't be live
>     [junit]   at 
> org.apache.cassandra.db.RangeTombstoneTest.simpleQueryWithRangeTombstoneTest(RangeTombstoneTest.java:88)
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to