Skip to content

Commit 89dda66

Browse files
committed
FF moved to yaml
1 parent f9d4ea7 commit 89dda66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ttl_test.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def _base_expiration_overflow_policy_test(self, default_ttl, policy):
370370
@jira_ticket CASSANDRA-14092 and CASSANDRA-14227
371371
"""
372372
# Post 5.0 TTL may overflow in 2038 (legacy) or 2106 C14227
373-
overflow_policy_applies = "NONE" != os.getenv("cassandra.storage_compatibility_mode", "CASSANDRA_4")\
373+
overflow_policy_applies = "NONE" != self.cluster.nodelist()[0].get_conf_option("storage_compatibility_mode") \
374374
or datetime.date.today().year >= 2086
375375
MAX_TTL = 20 * 365 * 24 * 60 * 60 # 20 years in seconds
376376
default_time_to_live = MAX_TTL if default_ttl else None

0 commit comments

Comments
 (0)