test: fix fixture debug attribute (QdrantClient has no rest_uri)
PR Checks / hadolint (pull_request) Successful in 17s
Docker Build and Push / test (pull_request) Successful in 2m2s
Docker Build and Push / integration-test (pull_request) Failing after 2m4s
Docker Build and Push / build (pull_request) Skipped
PR Checks / pytest (pull_request) Successful in 1m48s
PR Checks / build-test (pull_request) Successful in 2m24s

This commit is contained in:
OpenCode Cabillot committed 2026-10-09 12:27:53 +00:00
1 parent a597ecf6a2
commit 6997326b81
1 file changed
+2 -2
+2 -2
View File
@@ -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