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

Joshua McKenzie commented on CASSANDRA-7195:
--------------------------------------------

A prior test that is running is responsible for creating the files that are 
left in DELETE PENDING during testLoadNewSSTablesAvoidsOverwrites.

{code:title=testSliceByNamesCommandOldMetatada()}
        1024 ColumnFamily cf = cmd.getRow(keyspace).cf;
        1025 Cell cell = cf.getColumn(cname);
        1026 assert cell.value().equals(ByteBufferUtil.bytes("a")) : "expecting 
a, got " + ByteBufferUtil.string(cell.value());
{code}

Commenting those three lines, moving testLoadNewSSTablesAvoidsOverwrites to 
before testSliceByNamesCommandOldMetatada(sic), or changing the cfname in 
Metatada() all fix the unit tests and are all equally unacceptable solutions.  
It's a test order, pending file deletion, windows-only problem.

Now to figure out *why*.

> ColumnFamilyStoreTest unit tests fails on Windows
> -------------------------------------------------
>
>                 Key: CASSANDRA-7195
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7195
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>            Priority: Minor
>              Labels: Windows
>             Fix For: 3.0
>
>
> Looks like files aren't getting deleted correctly during 
> testLoadNewSSTablesAvoidsOverwrites during a sanity check.  Test passes on 
> linux.



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

Reply via email to