docs/test: align scheduling cleanup
This commit is contained in:
@@ -51,6 +51,7 @@ def test_competing_process_cannot_acquire_while_held(tmp_path: Path) -> None:
|
||||
capture_output=True,
|
||||
text=True,
|
||||
timeout=30,
|
||||
cwd=Path(__file__).resolve().parents[2],
|
||||
)
|
||||
assert proc.returncode == 0, proc.stderr
|
||||
assert "second-owner-rejected" in proc.stdout
|
||||
@@ -73,6 +74,7 @@ def test_lock_released_on_process_death(tmp_path: Path) -> None:
|
||||
)
|
||||
proc = subprocess.Popen(
|
||||
[sys.executable, str(script_path)],
|
||||
cwd=Path(__file__).resolve().parents[2],
|
||||
stdout=subprocess.PIPE,
|
||||
text=True,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user