Fixed cache shutdown to properly await task cancellation and added names to background tasks.
CI / Formatting (push) Successful in 5s
CI / Linting (push) Successful in 5s
CI / Tests (push) Successful in 22s
CI / Type Checking (push) Successful in 10s
CI / Spelling (push) Successful in 5s

This commit is contained in:
2026-03-22 20:17:06 -04:00
parent 23cc721612
commit c1f967ece9
3 changed files with 14 additions and 7 deletions
+1 -1
View File
@@ -113,6 +113,6 @@ class TestIngestCache:
cache.put(1, entry)
cache.start()
await asyncio.sleep(0.05)
cache.stop()
await cache.stop()
# Entry should have been cleaned up by the background task.
assert cache.pop(1) is None