Add C* 3.0/v4 to integration test default protocol

This commit is contained in:
Adam Holmberg
2015-04-08 11:26:33 -05:00
parent 3ab8b99269
commit 79c89ed67c

View File

@@ -118,7 +118,9 @@ else:
log.info('Using Cassandra version: %s', CASSANDRA_VERSION)
CCM_KWARGS['version'] = CASSANDRA_VERSION
if CASSANDRA_VERSION > '2.1':
if CASSANDRA_VERSION > '3.0':
default_protocol_version = 4
elif CASSANDRA_VERSION > '2.1':
default_protocol_version = 3
elif CASSANDRA_VERSION > '2.0':
default_protocol_version = 2