cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [3/7] git commit: update test for separate paxos/commit CLs
Date Mon, 05 Aug 2013 21:43:16 GMT
update test for separate paxos/commit CLs


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/c0d189f4
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/c0d189f4
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/c0d189f4

Branch: refs/heads/trunk
Commit: c0d189f4f2675d903d30b5bd787b4d177704ea12
Parents: e8ae672
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Mon Aug 5 16:27:39 2013 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Mon Aug 5 16:27:39 2013 -0500

----------------------------------------------------------------------
 test/system/test_thrift_server.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/c0d189f4/test/system/test_thrift_server.py
----------------------------------------------------------------------
diff --git a/test/system/test_thrift_server.py b/test/system/test_thrift_server.py
index 5d4a167..7ecc8f1 100644
--- a/test/system/test_thrift_server.py
+++ b/test/system/test_thrift_server.py
@@ -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


Mime
View raw message