cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alek...@apache.org
Subject [3/3] git commit: Fix even more of test/system/test_thrift_server.py
Date Sun, 10 Aug 2014 21:27:22 GMT
Fix even more of test/system/test_thrift_server.py


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

Branch: refs/heads/cassandra-2.0
Commit: a771f60dbb43ba4b86afb5afe501620a816b1b3d
Parents: 47d27d5
Author: Aleksey Yeschenko <aleksey@apache.org>
Authored: Mon Aug 11 00:26:36 2014 +0300
Committer: Aleksey Yeschenko <aleksey@apache.org>
Committed: Mon Aug 11 00:26:36 2014 +0300

----------------------------------------------------------------------
 test/system/test_thrift_server.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/a771f60d/test/system/test_thrift_server.py
----------------------------------------------------------------------
diff --git a/test/system/test_thrift_server.py b/test/system/test_thrift_server.py
index bef08a2..5f09475 100644
--- a/test/system/test_thrift_server.py
+++ b/test/system/test_thrift_server.py
@@ -630,7 +630,7 @@ class TestMutations(ThriftTester):
         for column in columns:
             client.insert('key', ColumnParent('Standard1'), column, ConsistencyLevel.ONE)
 
-        d = Deletion(1, predicate=SlicePredicate(slice_range=SliceRange(start='c2', finish='c5')))
+        d = Deletion(1, predicate=SlicePredicate(slice_range=SliceRange(start='c2', finish='c4')))
         client.batch_mutate({'key': {'Standard1' : [Mutation(deletion=d)]}}, ConsistencyLevel.ONE)
 
         _assert_columnpath_exists('key', ColumnPath('Standard1', column='c1'))
@@ -677,7 +677,7 @@ class TestMutations(ThriftTester):
         for column in columns:
             client.insert('key', ColumnParent('Super1', 'sc1'), column, ConsistencyLevel.ONE)
 
-        r = SliceRange(start=_i64(2), finish=_i64(5))
+        r = SliceRange(start=_i64(2), finish=_i64(4))
         d = Deletion(1, super_column='sc1', predicate=SlicePredicate(slice_range=r))
         client.batch_mutate({'key': {'Super1' : [Mutation(deletion=d)]}}, ConsistencyLevel.ONE)
 


Mime
View raw message