You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by al...@apache.org on 2014/08/11 03:11:48 UTC
[15/18] git commit: Fix even more of test/system/test_thrift_server.py
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/trunk
Commit: a771f60dbb43ba4b86afb5afe501620a816b1b3d
Parents: 47d27d5
Author: Aleksey Yeschenko <al...@apache.org>
Authored: Mon Aug 11 00:26:36 2014 +0300
Committer: Aleksey Yeschenko <al...@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)