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

Yuki Morishita resolved CASSANDRA-4810.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.0 beta 2

AssertionError is caused by one of tests moved from unit test recently in trunk.
testStandardColumnCompactions should have cleared SSTables generated in other 
tests in order to run properly.
Committed fix in 8c471240d0ffafeef53df2fd69693294257ed730.
                
> unit test failing under long-test
> ---------------------------------
>
>                 Key: CASSANDRA-4810
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4810
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Bill Bucher
>            Assignee: Yuki Morishita
>            Priority: Minor
>             Fix For: 1.2.0 beta 2
>
>
> the following failure occurs when running ant long-test
> junit] Testsuite: org.apache.cassandra.db.compaction.LongCompactionsTest
>     [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed: 31.28 sec
>     [junit] 
>     [junit] ------------- Standard Output ---------------
>     [junit] org.apache.cassandra.db.compaction.LongCompactionsTest: 
> sstables=2 rowsper=1 colsper=200000: 2173 ms
>     [junit] org.apache.cassandra.db.compaction.LongCompactionsTest: 
> sstables=2 rowsper=200000 colsper=1: 4531 ms
>     [junit] org.apache.cassandra.db.compaction.LongCompactionsTest: 
> sstables=100 rowsper=800 colsper=5: 1864 ms
>     [junit] ------------- ---------------- ---------------
>     [junit] Testcase: 
> testStandardColumnCompactions(org.apache.cassandra.db.compaction.LongCompactionsTest):
>   FAILED
>     [junit] expected:<9> but was:<99>
>     [junit] junit.framework.AssertionFailedError: expected:<9> but was:<99>
>     [junit]   at 
> org.apache.cassandra.db.compaction.CompactionsTest.assertMaxTimestamp(CompactionsTest.java:207)
>     [junit]   at 
> org.apache.cassandra.db.compaction.LongCompactionsTest.testStandardColumnCompactions(LongCompactionsTest.java:141)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.cassandra.db.compaction.LongCompactionsTest FAILED

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to