test: run pytest in CI — real unit job + Qdrant-backed integration job #52
@@ -64,7 +64,7 @@ def qdrant_setup():
|
||||
# and what it holds (CI 404 diagnosis).
|
||||
import logging
|
||||
dbg = logging.getLogger("integration.debug")
|
||||
dbg.warning("qdrant client url: %s", client.rest_uri)
|
||||
dbg.warning("qdrant client url: %s", getattr(client, "_client", client).base_url if hasattr(client, "_client") else client)
|
||||
server_info = None
|
||||
try:
|
||||
server_info = client.get_collections()
|
||||
@@ -92,7 +92,7 @@ def qdrant_setup():
|
||||
if collection_name not in names_after:
|
||||
raise RuntimeError(
|
||||
f"Fixture created collection {collection_name} but it is not in "
|
||||
f"get_collections(): {names_after} — pointing at {client.rest_uri}"
|
||||
f"get_collections(): {names_after}"
|
||||
)
|
||||
|
||||
# Index test emails
|
||||
|
||||
Reference in new issue
Block a user