From ac77a3dcabbbea97d103cbdde0679acc4197b1ad Mon Sep 17 00:00:00 2001 From: Shoham Elias <116083498+shohamazon@users.noreply.github.com> Date: Tue, 18 Jun 2024 11:18:54 +0300 Subject: [PATCH] Python: fix OBJECT IDLETIME flaky test (#1580) --- python/python/tests/test_async_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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