Skip to content

Commit

Permalink
Python: fix OBJECT IDLETIME flaky test (valkey-io#1580)
Browse files Browse the repository at this point in the history
  • Loading branch information
shohamazon authored and Chloe Yip committed Jun 19, 2024
1 parent 3fda0e6 commit f377fe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/python/tests/test_async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -4845,7 +4845,7 @@ async def test_object_idletime(self, redis_client: TRedisClient):

assert await redis_client.object_idletime(non_existing_key) is None
assert await redis_client.set(string_key, "foo") == OK
time.sleep(1)
time.sleep(2)
idletime = await redis_client.object_idletime(string_key)
assert idletime is not None and idletime > 0

Expand Down

0 comments on commit f377fe6

Please sign in to comment.