Merge pull request #307 from kishkaru/fix_cassandra_version
Fix typo in test harness detecting C* versions
This commit is contained in:
@@ -119,9 +119,9 @@ else:
|
|||||||
log.info('Using Cassandra version: %s', CASSANDRA_VERSION)
|
log.info('Using Cassandra version: %s', CASSANDRA_VERSION)
|
||||||
CCM_KWARGS['version'] = CASSANDRA_VERSION
|
CCM_KWARGS['version'] = CASSANDRA_VERSION
|
||||||
|
|
||||||
if CASSANDRA_VERSION > '2.1':
|
if CASSANDRA_VERSION >= '2.1':
|
||||||
default_protocol_version = 3
|
default_protocol_version = 3
|
||||||
elif CASSANDRA_VERSION > '2.0':
|
elif CASSANDRA_VERSION >= '2.0':
|
||||||
default_protocol_version = 2
|
default_protocol_version = 2
|
||||||
else:
|
else:
|
||||||
default_protocol_version = 1
|
default_protocol_version = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user