cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9787) Unit tests are failing on trunk after CASSANDRA-9650
Date Tue, 14 Jul 2015 21:06:04 GMT

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

Yuki Morishita commented on CASSANDRA-9787:
-------------------------------------------

RecoveryManagerFlushedTest is still failing.

{noformat}
    [junit] Testcase: testWithFlush(org.apache.cassandra.db.RecoveryManagerFlushedTest): 
      FAILED
    [junit] Expecting only 1 replayed mutation, got 4
    [junit] junit.framework.AssertionFailedError: Expecting only 1 replayed mutation, got
4
    [junit]     at org.apache.cassandra.db.RecoveryManagerFlushedTest.testWithFlush(RecoveryManagerFlushedTest.java:79)
{noformat}

Interesting though, after Jake's patch error message is changed to above. Before the patch,
the error was:

{noformat}
    [junit] Testcase: testWithFlush(org.apache.cassandra.db.RecoveryManagerFlushedTest): 
      FAILED
    [junit] Expecting only 1 replayed mutation, got 0
    [junit] junit.framework.AssertionFailedError: Expecting only 1 replayed mutation, got
0
    [junit]     at org.apache.cassandra.db.RecoveryManagerFlushedTest.testWithFlush(RecoveryManagerFlushedTest.java:79)
{noformat}

It was running fine before CASSANDRA-9650 as well, so that needs to be fixed too.



> Unit tests are failing on trunk after CASSANDRA-9650
> ----------------------------------------------------
>
>                 Key: CASSANDRA-9787
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9787
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Yuki Morishita
>            Assignee: T Jake Luciani
>             Fix For: 3.0 beta 1
>
>
> After CASSANDRA-9650(https://github.com/apache/cassandra/commit/8c22b4a81f6a8d6dabdca9745ac559302604571a),
commit log related tests are failing on trunk.
> * RecoveryManagerTest
> * RecoveryManagerTruncateTest
> * RecoveryManagerFlushedTest
> * RecoveryManagerMissingHeaderTest
> It seems all are failing at CRC check when recovering commitlog(https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/commitlog/CommitLogReplayer.java#L458).



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

Mime
View raw message