Skip to content

Commit cc49ab2

Browse files
committed
Fix long tests comparing DSE_VERSION when DSE_VERSION is None
1 parent df6e69e commit cc49ab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/integration/long/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def force_stop(node):
9393

9494

9595
def decommission(node):
96-
if DSE_VERSION >= Version("5.1") or CASSANDRA_VERSION >= Version("4.0"):
96+
if (DSE_VERSION and DSE_VERSION >= Version("5.1")) or CASSANDRA_VERSION >= Version("4.0"):
9797
# CASSANDRA-12510
9898
get_node(node).decommission(force=True)
9999
else:

0 commit comments

Comments
 (0)