You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2012/11/08 20:50:12 UTC

[jira] [Commented] (CASSANDRA-4935) occasional TableTest failure

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

Yuki Morishita commented on CASSANDRA-4935:
-------------------------------------------

Looks like the test TableTest#testGetSliceWithExpiration is from CASSANDRA-4761.
Since it is using TTL of 1 sec, test result will be different if it takes more than 1 sec before query.

Honestly, I don't understand the purpose of the test. It says "// tests slicing against data from one row with expiring column in a memtable and then flushed to an sstable", but it is forcing flush before slicing.
                
> occasional TableTest failure
> ----------------------------
>
>                 Key: CASSANDRA-4935
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4935
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Brandon Williams
>            Assignee: Yuki Morishita
>            Priority: Minor
>
> The TableTest unit test fails somewhat rarely:
> {noformat}
>     [junit] Testsuite: org.apache.cassandra.db.TableTest
>     [junit] Tests run: 11, Failures: 1, Errors: 0, Time elapsed: 4.339 sec
>     [junit] 
>     [junit] Testcase: testGetSliceWithExpiration(org.apache.cassandra.db.TableTest):	FAILED
>     [junit] Columns [636f6c31:false:4@1,636f6c32:true:4@1!1,636f6c33:false:4@1,])] is not expected [col1,col2]
>     [junit] junit.framework.AssertionFailedError: Columns [636f6c31:false:4@1,636f6c32:true:4@1!1,636f6c33:false:4@1,])] is not expected [col1,col2]
>     [junit] 	at org.apache.cassandra.db.TableTest.assertColumns(TableTest.java:574)
>     [junit] 	at org.apache.cassandra.db.TableTest.assertColumns(TableTest.java:541)
>     [junit] 	at org.apache.cassandra.db.TableTest$5.runMayThrow(TableTest.java:353)
>     [junit] 	at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:28)
>     [junit] 	at org.apache.cassandra.db.TableTest.reTest(TableTest.java:56)
>     [junit] 	at org.apache.cassandra.db.TableTest.testGetSliceWithExpiration(TableTest.java:362)
> {noformat}

--
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