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 2010/04/06 18:19:33 UTC

[jira] Updated: (CASSANDRA-944) system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic

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

Brandon Williams updated CASSANDRA-944:
---------------------------------------

    Attachment: 944.patch

Patch to add a loop as described and use it when CL.ZERO is tested.

> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-944
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-944
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 0.6
>         Environment: xubuntu 9.10
> Linux mdennis 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 05:23:09 UTC 2010 i686 GNU/Linux
>            Reporter: Matthew F. Dennis
>            Assignee: Brandon Williams
>         Attachments: 944.patch
>
>
> system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns appears to be non deterministic.  The first time I ran the thrift tests after a clean checkout it failed.  However, it did not fail the ~10 times after that.
> {code}
> mdennis@mdennis:~/c/cassandra$ nosetests test/system/test_thrift_server.py 
> ...........E....................................
> ======================================================================
> ERROR: system.test_thrift_server.TestMutations.test_batch_mutate_standard_columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/pymodules/python2.6/nose/case.py", line 183, in runTest
>     self.test(*self.arg)
>   File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 318, in test_batch_mutate_standard_columns
>     _assert_column('Keyspace1', column_family, key, 'c1', 'value1')
>   File "/home/mdennis/c/cassandra/test/system/test_thrift_server.py", line 43, in _assert_column
>     raise Exception('expected %s:%s:%s:%s:%s, but was not present' % (keyspace, column_family, key, column, value) )
> Exception: expected Keyspace1:Standard1:key_27:c1:value1, but was not present
> ----------------------------------------------------------------------
> Ran 48 tests in 184.700s
> FAILED (errors=1)
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.