Relax timing check in file lock test

This commit is contained in:
thePR0M3TH3AN committed 2025-06-29 18:50:17 -04:00
1 parent c0ddedce54
commit d78e5ba849
1 file changed
+2 -2
+2 -2
View File
@@ -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)