Skip to content

Commit

Permalink
Python: fix OBJECT IDLETIME flaky test (#1580)
Browse files Browse the repository at this point in the history
  • Loading branch information
shohamazon authored Jun 18, 2024
1 parent 5a48f24 commit 6998c2a
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 6998c2a

Please sign in to comment.