You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2012/11/08 17:34:12 UTC
[jira] [Created] (CASSANDRA-4935) occasional TableTest failure
Brandon Williams created CASSANDRA-4935:
-------------------------------------------
Summary: 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
[jira] [Commented] (CASSANDRA-4935) occasional TableTest failure
Posted by "Yuki Morishita (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (CASSANDRA-4935) occasional TableTest failure
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493466#comment-13493466 ]
Jonathan Ellis commented on CASSANDRA-4935:
-------------------------------------------
It does look like the forceBlockingFlush call should be removed to make the test do what was intended.
> 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
[jira] [Updated] (CASSANDRA-4935) occasional TableTest failure
Posted by "Yuki Morishita (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4935?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuki Morishita updated CASSANDRA-4935:
--------------------------------------
Attachment: 4935.txt
Alright, I removed forceBlockingFlush and set TTL long enough to not get tombstoned so we get consistent test result.
> 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
> Fix For: 1.2.0 rc1
>
> Attachments: 4935.txt
>
>
> 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
[jira] [Commented] (CASSANDRA-4935) occasional TableTest failure
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-4935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13494360#comment-13494360 ]
Jonathan Ellis commented on CASSANDRA-4935:
-------------------------------------------
+1
> 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
> Fix For: 1.2.0 rc1
>
> Attachments: 4935.txt
>
>
> 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