Fix version check after C* ticket was committed

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

Branch: refs/heads/master
Commit: 5c99d2028d1b03c2543dd81b90700922aa9ec93b
Parents: afda2d4
Author: Sam Tunnicliffe <[email protected]>
Authored: Thu May 11 18:33:47 2017 +0100
Committer: Philip Thompson <[email protected]>
Committed: Thu May 11 14:24:05 2017 -0400

----------------------------------------------------------------------
 cqlsh_tests/cqlsh_tests.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-dtest/blob/5c99d202/cqlsh_tests/cqlsh_tests.py
----------------------------------------------------------------------
diff --git a/cqlsh_tests/cqlsh_tests.py b/cqlsh_tests/cqlsh_tests.py
index 4feadc1..e7bc11c 100644
--- a/cqlsh_tests/cqlsh_tests.py
+++ b/cqlsh_tests/cqlsh_tests.py
@@ -984,12 +984,12 @@ VALUES (4, blobAsInt(0x), '', blobAsBigint(0x), 0x, 
blobAsBoolean(0x), blobAsDec
 
     def get_index_output(self, index, ks, table, col):
         # a quoted index name (e.g. "FooIndex") is only correctly echoed by 
DESCRIBE
-        # from 3.0.11 & 3.10
+        # from 3.0.14 & 3.11
         if index[0] == '"' and index[-1] == '"':
             version = self.cluster.version()
-            if version >= LooseVersion('3.10'):
+            if version >= LooseVersion('3.11'):
                 pass
-            elif LooseVersion('3.1') > version >= LooseVersion('3.0.11'):
+            elif LooseVersion('3.1') > version >= LooseVersion('3.0.14'):
                 pass
             else:
                 index = index[1:-1]


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

Reply via email to