Skip to content

Commit 6f6ef9d

Browse files
committed
Merge pull request apache#307 from kishkaru/fix_cassandra_version
Fix typo in test harness detecting C* versions
2 parents f879700 + e9b948b commit 6f6ef9d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ def _tuple_version(version_string):
119119
log.info('Using Cassandra version: %s', CASSANDRA_VERSION)
120120
CCM_KWARGS['version'] = CASSANDRA_VERSION
121121

122-
if CASSANDRA_VERSION > '2.1':
122+
if CASSANDRA_VERSION >= '2.1':
123123
default_protocol_version = 3
124-
elif CASSANDRA_VERSION > '2.0':
124+
elif CASSANDRA_VERSION >= '2.0':
125125
default_protocol_version = 2
126126
else:
127127
default_protocol_version = 1

0 commit comments

Comments
 (0)