Fix file lock test timing

This commit is contained in:
thePR0M3TH3AN
2025-06-29 18:19:33 -04:00
parent df2a776a0a
commit 22a496b856

View File

@@ -28,9 +28,10 @@ def test_exclusive_lock_blocks_until_released(tmp_path: Path):
p1.start()
started.wait()
time.sleep(0.1)
p2.start()
p1.join()
p2.join()
assert wait_time.value >= 1.0
assert wait_time.value >= 0.9