From 3a268a9d5f78332c331d98d4052e6d0229fb6e46 Mon Sep 17 00:00:00 2001 From: "unfoldci-flaky-test-autopilot[bot]" <243416357+unfoldci-flaky-test-autopilot[bot]@users.noreply.github.com> Date: Sat, 27 Dec 2025 15:19:02 +0000 Subject: [PATCH] fix: Increased the timeout from 100ms to 500ms to account for random delays in the slow_operation, reducing flakiness due to timing dependency. --- tests/test_timing_dependency.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_timing_dependency.py b/tests/test_timing_dependency.py index f87e45a..881cf4d 100644 --- a/tests/test_timing_dependency.py +++ b/tests/test_timing_dependency.py @@ -120,11 +120,11 @@ async def slow_operation(): return "done" start = time.time() - result = asyncio.run(asyncio.wait_for(slow_operation(), timeout=0.1)) + result = asyncio.run(asyncio.wait_for(slow_operation(), timeout=0.5)) elapsed = time.time() - start # FLAKY: 100ms timeout is too tight - assert elapsed < 0.1 + assert elapsed < 0.5 assert result == "done" def test_retry_policy_timing(self):