Repository: cassandra-dtest
Updated Branches:
  refs/heads/master c13a78c53 -> 79d8ddd4a


paging_test: use function to check protocol v5 support

patch by Jay Zhuang; reviewed by Jason Brown for CASSANDRA-14601


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

Branch: refs/heads/master
Commit: 79d8ddd4a418c52d913ccd5f535f75228877301d
Parents: c13a78c
Author: Jay Zhuang <[email protected]>
Authored: Sat Jul 28 21:14:09 2018 -0700
Committer: Jay Zhuang <[email protected]>
Committed: Mon Jul 30 10:26:01 2018 -0700

----------------------------------------------------------------------
 paging_test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/79d8ddd4/paging_test.py
----------------------------------------------------------------------
diff --git a/paging_test.py b/paging_test.py
index d41b8f3..6be3f7d 100644
--- a/paging_test.py
+++ b/paging_test.py
@@ -3419,7 +3419,7 @@ class TestPagingWithDeletions(BasePagingTester, 
PageAssertionMixin):
 
     def test_failure_threshold_deletions(self):
         """Test that paging throws a failure in case of tombstone threshold """
-        supports_v5_protocol = self.cluster.version() >= LooseVersion('3.10')
+        supports_v5_protocol = 
self.supports_v5_protocol(self.cluster.version())
 
         self.fixture_dtest_setup.allow_log_errors = True
         self.cluster.set_configuration_options(


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to