From d78e5ba849d6127fac8ca1570893cce3d4b7c80c Mon Sep 17 00:00:00 2001 From: thePR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> Date: Sun, 29 Jun 2025 18:50:17 -0400 Subject: [PATCH] Relax timing check in file lock test --- src/tests/test_file_lock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/test_file_lock.py b/src/tests/test_file_lock.py index 4b542e0..7d9f2d2 100644 --- a/src/tests/test_file_lock.py +++ b/src/tests/test_file_lock.py @@ -36,5 +36,5 @@ def test_exclusive_lock_blocks_until_released(tmp_path: Path): p1.join() p2.join() - # CI runners can be jittery; allow some slack around the 1s lock hold time - assert wait_time.value == pytest.approx(1.0, rel=0.2) + # CI runners can be jittery; allow generous slack around the 1s lock hold time + assert wait_time.value == pytest.approx(1.0, abs=0.4)