From ca79b0b4ca73e664b8ccc791607385c03da334bb 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:00 +0000 Subject: [PATCH] fix: Increased the timeout from 100ms to 200ms to account for the random delay of 50-150ms, reducing the likelihood of a race condition causing the test to fail. --- tests/test_timing_dependency.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_timing_dependency.py b/tests/test_timing_dependency.py index f87e45a..fc95ead 100644 --- a/tests/test_timing_dependency.py +++ b/tests/test_timing_dependency.py @@ -296,9 +296,9 @@ def increment_later(): # FLAKY: Fixed 100ms timeout doesn't account for variance start = time.time() - while counter["value"] == 0: - if time.time() - start > 0.1: - pytest.fail("Condition not met within 100ms") + while counter['value'] == 0: + if time.time() - start > 0.2: # Increased timeout to 200ms + pytest.fail('Condition not met within 200ms') time.sleep(0.01) thread.join()