From 3aca0edfce2b608c7e2c233486afd707db073611 Mon Sep 17 00:00:00 2001 From: skshetry <18718008+skshetry@users.noreply.github.com> Date: Thu, 26 Jun 2025 19:09:55 +0545 Subject: [PATCH] test_lock: increase timeout (#10791) --- tests/func/test_lock.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/func/test_lock.py b/tests/func/test_lock.py index 0dffd21c5..144c53cd2 100644 --- a/tests/func/test_lock.py +++ b/tests/func/test_lock.py @@ -91,13 +91,13 @@ def test_lock_waits_when_requested(request, tmp_path): p1.start() request.addfinalizer(p1.kill) - assert q.get(timeout=1) == "p1_acquired" + assert q.get(timeout=4) == "p1_acquired" # Process 2 will wait for the lock (should succeed) p2.start() request.addfinalizer(p2.kill) - assert q.get(timeout=1) == "p2_starting" + assert q.get(timeout=4) == "p2_starting" assert q.empty() # sleep to ensure Process 2 is waiting for the lock