You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joshua McKenzie (JIRA)" <ji...@apache.org> on 2016/07/15 18:21:20 UTC

[jira] [Commented] (CASSANDRA-12206) CommitLogTest.replaySimple failure

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

Joshua McKenzie commented on CASSANDRA-12206:
---------------------------------------------

Failed once out of 200 runs locally. A little inspection and thought led me to change the SimpleCountingReplayer in CommitLogTest to take a CFMetaData and only count mutations for the CF you're filtering for. There's a chance that other system mutations can end up in the commitlog and expecting a segment to only have a certain count of mutations is flaky and incorrect.

||branch||testall| 
|[12206|https://github.com/josh-mckenzie/cassandra/tree/12206]|[testall|http://cassci.datastax.com/view/Dev/view/josh-mckenzie/job/josh-mckenzie-12206-testall]|

> CommitLogTest.replaySimple failure
> ----------------------------------
>
>                 Key: CASSANDRA-12206
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12206
>             Project: Cassandra
>          Issue Type: Test
>         Environment: cassandra-3.9 CI
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>
> Fails on both regular and compression runs.
> {noformat}
> Error Message
> expected:<2> but was:<8>
> Stacktrace
> junit.framework.AssertionFailedError: expected:<2> but was:<8>
> 	at org.apache.cassandra.db.commitlog.CommitLogTest.replaySimple(CommitLogTest.java:618)
> {noformat}



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