haiku.rag/tests/multi_db
Yiorgis Gozadinos cfb880e8a0
Keep every database a cancelled fan-out opened
`sessions_for` recorded what opened from `gather`'s results, which arrive only
when it runs to completion. Cancelling it discarded them, so a database that
opened while a sibling was still pending was never recorded and `aclose` never
closed it. `return_exceptions=True` covers a failing child, not a cancelled
parent.

`_open` now registers its own session, so what opened is reachable however the
fan-out ends.
2026-08-27 11:40:24 +03:00
..
__init__.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
conftest.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
helpers.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
test_capabilities.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
test_citations.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
test_documents.py Rename the database selector to --db-name 2026-08-26 16:48:27 +03:00
test_expansion.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00
test_lifecycle.py Keep every database a cancelled fan-out opened 2026-08-27 11:40:24 +03:00
test_scope.py Rename the database selector to --db-name 2026-08-26 16:48:27 +03:00
test_search.py Split the multi-database tests by subject 2026-08-26 13:43:53 +03:00