Skip to content

Commit 99c50e6

Browse files
committed
Added version annotation
1 parent a82559e commit 99c50e6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_search.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,13 +1584,14 @@ def test_index_definition(client):
15841584
@pytest.mark.redismod
15851585
@pytest.mark.onlynoncluster
15861586
@skip_if_redis_enterprise()
1587+
@skip_if_server_version_gte("7.9.0")
15871588
def test_expire(client):
15881589
client.ft().create_index((TextField("txt", sortable=True),), temporary=4)
1589-
ttl = client.execute_command("_ft.debug", "TTL", "idx")
1590+
ttl = client.execute_command("ft.debug", "TTL", "idx")
15901591
assert ttl > 2
15911592

15921593
while ttl > 2:
1593-
ttl = client.execute_command("_ft.debug", "TTL", "idx")
1594+
ttl = client.execute_command("ft.debug", "TTL", "idx")
15941595
time.sleep(0.01)
15951596

15961597

0 commit comments

Comments
 (0)