mirror of https://github.com/apache/cassandra
update test for separate paxos/commit CLs
This commit is contained in:
parent
e8ae6720e5
commit
c0d189f4f2
|
|
@ -233,7 +233,7 @@ class TestMutations(ThriftTester):
|
|||
def test_cas(self):
|
||||
_set_keyspace('Keyspace1')
|
||||
def cas(expected, updates):
|
||||
return client.cas('key1', 'Standard1', expected, updates, ConsistencyLevel.ONE)
|
||||
return client.cas('key1', 'Standard1', expected, updates, ConsistencyLevel.SERIAL, ConsistencyLevel.QUORUM)
|
||||
|
||||
cas_result = cas(_SIMPLE_COLUMNS, _SIMPLE_COLUMNS)
|
||||
assert not cas_result.success
|
||||
|
|
|
|||
Loading…
Reference in New Issue