There was an error while loading. Please reload this page.
1 parent f1f88c8 commit 40703e2Copy full SHA for 40703e2
tests/test_search.py
@@ -1710,4 +1710,5 @@ def test_expire_while_search(modclient: redis.Redis):
1710
modclient.pexpire("hset:2", 300)
1711
for _ in range(500):
1712
modclient.ft().search(Query("*")).docs[1]
1713
+ time.sleep(1)
1714
assert 2 == modclient.ft().search(Query("*")).total
0 commit comments