fix: bound task handoff and preserve native writer ownership
This commit is contained in:
1 parent
0440b2efbf
commit
ddff6bd857
18 files changed
+1397
-118
No files matched your search
@@ -17,7 +17,9 @@ def test_batch_rechecks_owned_failure_before_skipping_next_item(tmp_path,monkeyp
|
||||
monkeypatch.setattr(session_record,'inspect_session_record',lambda *a,**k:dict(status='UNCONFIRMED'))
|
||||
def proof(*a,**k):
|
||||
if not released:raise library_lock.LibraryBusy('shared database still occupied')
|
||||
return dict(status='RELEASE_CONFIRMED',library=str(library),data_recovery_confirmed=False)
|
||||
return dict(status='RELEASE_CONFIRMED',library=str(library),data_recovery_confirmed=False,
|
||||
lease_state='RELEASED',blocked_resources=[],
|
||||
resource_scope=dict(scope_state='OBSERVED',library=str(library)))
|
||||
monkeypatch.setattr(library_lock,'release_retained_library',proof)
|
||||
def verify(req):
|
||||
calls.append(req.block_name)
|
||||
|
||||
Reference in new issue
Block a user