diff --git a/python/python/tests/test_async_client.py b/python/python/tests/test_async_client.py index 337967cd70..7c55bfe43e 100644 --- a/python/python/tests/test_async_client.py +++ b/python/python/tests/test_async_client.py @@ -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