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

Sylvain Lebresne updated CASSANDRA-12890:
-----------------------------------------
    Fix Version/s: 2.2.x
           Status: Patch Available  (was: Open)

That's some simple interference (the test uses {{loadNewSSTables()}} and 
sometimes picks up sstables from another test that deleted asynchronously). 
Attaching (trivial) patch that simply uses another table name for that test so 
there is no interference.
| [12890-2.2|https://github.com/pcmanus/cassandra/commits/12890-2.2] | 
[utests|http://cassci.datastax.com/job/pcmanus-12890-2.2-testall] | 
[dtests|http://cassci.datastax.com/job/pcmanus-12890-2.2-dtest] |

There is only a patch for 2.2 as that test doesn't exist in 3.0 anymore (the 
test deletes the STATS component of a sstable and try reloading, but you can't 
do that in 3.0 as important stuffs are in the STATS file, and the test existed 
in the first place to test a very old case where old sstable might not have the 
STATS file, but that's not something we should worry about in 3.0).


> testall failure in 
> org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOldMetadata
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12890
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12890
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Michael Shuler
>            Assignee: Sylvain Lebresne
>              Labels: test-failure
>             Fix For: 2.2.x
>
>
> This failed in both 'test' and 'test-compression' targets.
> example failure:
> http://cassci.datastax.com/job/cassandra-2.2_testall/602/testReport/org.apache.cassandra.db/ColumnFamilyStoreTest/testSliceByNamesCommandOldMetadata
> http://cassci.datastax.com/job/cassandra-2.2_testall/602/testReport/org.apache.cassandra.db/ColumnFamilyStoreTest/testSliceByNamesCommandOldMetadata_compression/
> {noformat}
> Stacktrace
> junit.framework.AssertionFailedError
>       at 
> org.apache.cassandra.io.util.FileUtils.renameWithConfirm(FileUtils.java:171)
>       at 
> org.apache.cassandra.io.util.FileUtils.renameWithConfirm(FileUtils.java:166)
>       at 
> org.apache.cassandra.io.sstable.format.SSTableWriter.rename(SSTableWriter.java:266)
>       at 
> org.apache.cassandra.db.ColumnFamilyStore.loadNewSSTables(ColumnFamilyStore.java:791)
>       at 
> org.apache.cassandra.db.ColumnFamilyStoreTest.testSliceByNamesCommandOldMetadata(ColumnFamilyStoreTest.java:1158)
> {noformat}



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

Reply via email to