fix: wait for native iCDB shutdown after a completed save

This commit is contained in:
阿白叔 committed 2026-11-25 21:51:49 +08:00
1 parent 81a5d1ae4b
commit dfb819e7dd
4 files changed
+69 -10

No files matched your search

+1
View File
@@ -1082,6 +1082,7 @@ def test_native_save_waits_for_scoped_database_sharing_violation(tmp_path, monke
if event['stage'] == 'post_save_release_pending':
# Model the original case: PCB is gone, the database is still held.
assert event['blocked_resources'] == [str(database)]
assert str(database) in event['detail']
locked.Close()
released = True