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

Michael Shuler commented on CASSANDRA-7279:
-------------------------------------------

Applied the patch to trunk and tested out the modified tests (haven't run a 
full 'ant test') - MultiSliceTest, QueryPagerTest, RangeTombstoneTest pass, but 
ColumnFamilyStoreTest failed with:
{noformat}
test:
     [echo] running unit tests
    [junit] WARNING: multiple versions of ant detected in path for junit 
    [junit]          
jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
    [junit]      and 
jar:file:/home/mshuler/git/cassandra/build/lib/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
    [junit] Testsuite: org.apache.cassandra.db.ColumnFamilyStoreTest
    [junit] Tests run: 35, Failures: 8, Errors: 0, Skipped: 0, Time elapsed: 
17.085 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] ERROR 20:07:21 Unable to delete 
build/test/cassandra/data/Keyspace1/Indexed2-a7e63420e1ec11e3a5c09b2001e5c823/Keyspace1-Indexed2.birthdate_index-ka-1-Data.db
 (it will be removed on server restart; we'll also retry after GC)
    [junit] ERROR 20:07:21 Unable to delete 
build/test/cassandra/data/Keyspace1/Indexed2-a7e63420e1ec11e3a5c09b2001e5c823/Keyspace1-Indexed2.birthdate_index-ka-1-Data.db
 (it will be removed on server restart; we'll also retry after GC)
    [junit] ERROR 20:07:23 Missing component: 
build/test/cassandra/data/Keyspace1/Standard3-a7e60d12e1ec11e3a5c09b2001e5c823/Keyspace1-Standard3-ka-1-Summary.db
    [junit] ERROR 20:07:23 Missing component: 
build/test/cassandra/data/Keyspace1/Standard3-a7e60d12e1ec11e3a5c09b2001e5c823/Keyspace1-Standard3-ka-1-Summary.db
    [junit] ERROR 20:07:23 Missing component: 
build/test/cassandra/data/Keyspace1/Standard4-a7e60d13e1ec11e3a5c09b2001e5c823/Keyspace1-Standard4-ka-3-Summary.db
    [junit] ERROR 20:07:23 Missing component: 
build/test/cassandra/data/Keyspace1/Standard4-a7e60d13e1ec11e3a5c09b2001e5c823/Keyspace1-Standard4-ka-3-Summary.db
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: 
testMultiRangeSomeEmptyNoIndex(org.apache.cassandra.db.ColumnFamilyStoreTest):  
  FAILED
    [junit] Columns did not match. Expected: [colI, colD, colC, colA] but got:[]
    [junit] junit.framework.AssertionFailedError: Columns did not match. 
Expected: [colI, colD, colC, colA] but got:[]
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.findRowGetSlicesAndAssertColsFound(ColumnFamilyStoreTest.java:2101)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testMultiRangeSomeEmptyNoIndex(ColumnFamilyStoreTest.java:1419)
    [junit] 
    [junit] 
    [junit] Testcase: 
testMultiRangeSomeEmptyIndexed(org.apache.cassandra.db.ColumnFamilyStoreTest):  
  FAILED
    [junit] Columns did not match. Expected: [colI, colD, colC, colA] but 
got:[colD, colC]
    [junit] junit.framework.AssertionFailedError: Columns did not match. 
Expected: [colI, colD, colC, colA] but got:[colD, colC]
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.findRowGetSlicesAndAssertColsFound(ColumnFamilyStoreTest.java:2101)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testMultiRangeSomeEmptyIndexed(ColumnFamilyStoreTest.java:1468)
    [junit] 
    [junit] 
    [junit] Testcase: 
testMultiRangeContiguousNoIndex(org.apache.cassandra.db.ColumnFamilyStoreTest): 
  FAILED
    [junit] Columns did not match. Expected: [colI, colG, colF, colE, colD, 
colC, colA] but got:[]
    [junit] junit.framework.AssertionFailedError: Columns did not match. 
Expected: [colI, colG, colF, colE, colD, colC, colA] but got:[]
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.findRowGetSlicesAndAssertColsFound(ColumnFamilyStoreTest.java:2101)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testMultiRangeContiguousNoIndex(ColumnFamilyStoreTest.java:1517)
    [junit] 
    [junit] 
    [junit] Testcase: 
testMultiRangeContiguousIndexed(org.apache.cassandra.db.ColumnFamilyStoreTest): 
  FAILED
    [junit] Columns did not match. Expected: [colI, colG, colF, colE, colD, 
colC, colA] but got:[colG, colF, colE, colD, colC]
    [junit] junit.framework.AssertionFailedError: Columns did not match. 
Expected: [colI, colG, colF, colE, colD, colC, colA] but got:[colG, colF, colE, 
colD, colC]
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.findRowGetSlicesAndAssertColsFound(ColumnFamilyStoreTest.java:2101)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testMultiRangeContiguousIndexed(ColumnFamilyStoreTest.java:1567)
    [junit] 
    [junit] 
    [junit] Testcase: 
testMultiRangeIndexed(org.apache.cassandra.db.ColumnFamilyStoreTest):     FAILED
    [junit] Columns did not match. Expected: [colI, colG, colE, colD, colC, 
colA] but got:[colG, colE, colD, colC]
    [junit] junit.framework.AssertionFailedError: Columns did not match. 
Expected: [colI, colG, colE, colD, colC, colA] but got:[colG, colE, colD, colC]
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.findRowGetSlicesAndAssertColsFound(ColumnFamilyStoreTest.java:2101)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testMultiRangeIndexed(ColumnFamilyStoreTest.java:1628)
    [junit] 
    [junit] 
    [junit] Testcase: 
testMultipleRangesSlicesNoIndexedColumns(org.apache.cassandra.db.ColumnFamilyStoreTest):
  FAILED
    [junit] Columns did not match. Expected: [cola] but got:[]
    [junit] junit.framework.AssertionFailedError: Columns did not match. 
Expected: [cola] but got:[]
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.findRowGetSlicesAndAssertColsFound(ColumnFamilyStoreTest.java:2101)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testMultiRangeSlicesBehavior(ColumnFamilyStoreTest.java:1965)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testMultipleRangesSlicesNoIndexedColumns(ColumnFamilyStoreTest.java:1637)
    [junit] 
    [junit] 
    [junit] Testcase: 
testMultipleRangesSlicesWithIndexedColumns(org.apache.cassandra.db.ColumnFamilyStoreTest):
        FAILED
    [junit] Columns did not match. Expected: [cola] but got:[]
    [junit] junit.framework.AssertionFailedError: Columns did not match. 
Expected: [cola] but got:[]
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.findRowGetSlicesAndAssertColsFound(ColumnFamilyStoreTest.java:2101)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testMultiRangeSlicesBehavior(ColumnFamilyStoreTest.java:1965)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testMultipleRangesSlicesWithIndexedColumns(ColumnFamilyStoreTest.java:1644)
    [junit] 
    [junit] 
    [junit] Testcase: 
testMultipleRangesSlicesInMemory(org.apache.cassandra.db.ColumnFamilyStoreTest):
  FAILED
    [junit] Columns did not match. Expected: [cola] but got:[]
    [junit] junit.framework.AssertionFailedError: Columns did not match. 
Expected: [cola] but got:[]
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.findRowGetSlicesAndAssertColsFound(ColumnFamilyStoreTest.java:2101)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testMultiRangeSlicesBehavior(ColumnFamilyStoreTest.java:1965)
    [junit]     at 
org.apache.cassandra.db.ColumnFamilyStoreTest.testMultipleRangesSlicesInMemory(ColumnFamilyStoreTest.java:1651)
    [junit] 
    [junit] 
    [junit] Test org.apache.cassandra.db.ColumnFamilyStoreTest FAILED
{noformat}

I backed the patch out, so HEAD is now at e5ab470, and ColumnFamilyStoreTest 
passes ok

> MultiSliceTest.test_with_overlap* unit tests failing in trunk
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-7279
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7279
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Michael Shuler
>            Assignee: T Jake Luciani
>            Priority: Minor
>             Fix For: 2.1 rc1
>
>         Attachments: 7279-trunk.txt
>
>
> Example:
> https://cassci.datastax.com/job/trunk_utest/623/testReport/org.apache.cassandra.thrift/MultiSliceTest/



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to