fix(evidence): lock GC and preflight search ownership
This commit is contained in:
@@ -208,8 +208,7 @@ def test_explicit_gc_blocks_while_job_holds_corpus_writer_lock(tmp_path):
|
||||
assert entered.wait(5)
|
||||
|
||||
def collect():
|
||||
with candidate.store.writer_lock():
|
||||
candidate.gc(workspace_root=tmp_path)
|
||||
candidate.gc(workspace_root=tmp_path)
|
||||
gc_finished.set()
|
||||
|
||||
gc_thread = threading.Thread(target=collect)
|
||||
|
||||
Reference in New Issue
Block a user