docs/test: align scheduling cleanup
This commit is contained in:
@@ -100,7 +100,9 @@ def test_competing_processes_share_the_canonical_lock(tmp_path: Path) -> None:
|
||||
comp = tmp_path / "composition"
|
||||
comp.mkdir(parents=True)
|
||||
sched_store, run_store = _stores(comp)
|
||||
identity = Path(canonical_lock_root(sched_store.root, run_store.root) or "")
|
||||
resolved = canonical_lock_root(sched_store.root, run_store.root)
|
||||
assert resolved is not None
|
||||
identity = Path(resolved)
|
||||
holder = SchedulerOwnership(identity, owner="parent").acquire()
|
||||
try:
|
||||
script_path = tmp_path / "compete_canonical.py"
|
||||
|
||||
Reference in New Issue
Block a user