diff --git a/test/test_knowledge_reclaim_deferred.py b/test/test_knowledge_reclaim_deferred.py index ba6222d7f866..6dff70c83aa8 100644 --- a/test/test_knowledge_reclaim_deferred.py +++ b/test/test_knowledge_reclaim_deferred.py @@ -27,6 +27,7 @@ from kiro_crew.knowledge import store as store_mod from kiro_crew.knowledge.ingestion import IngestionPipeline from kiro_crew.knowledge.store import KnowledgeStore +from kiro_crew.testing.wait import await_until # The store binds ``pysqlite3`` when it is installed, so both the raw reads and # the connect patch below go through the SAME module the store uses. @@ -758,7 +759,7 @@ async def child() -> None: assert window_waiting.wait(2) await asyncio.sleep(0.1) # the window is now waiting on this hold task = asyncio.create_task(child(), context=ingestion_mod.handoff_gate_context()) - await asyncio.wait_for(taken.wait(), timeout=2.0) + await await_until(taken, what="taken event") await task th.join(timeout=10) return time.monotonic() - started diff --git a/test/wait_discipline_baseline.txt b/test/wait_discipline_baseline.txt index e63f157aec2a..0c1516f917c5 100644 --- a/test/wait_discipline_baseline.txt +++ b/test/wait_discipline_baseline.txt @@ -242,7 +242,6 @@ 3 test_knowledge_handlers_coverage.py 7 test_knowledge_handlers_off_loop.py 1 test_knowledge_ingest_magic_byte.py - 1 test_knowledge_reclaim_deferred.py 1 test_knowledge_sync_local_file.py 3 test_lessons_context_embedding_deadline.py 1 test_listener_guard.py