test: introspect http client base_url safely
PR Checks / hadolint (pull_request) Successful in 23s
PR Checks / build-test (pull_request) Successful in 34s
Docker Build and Push / test (pull_request) Successful in 2m17s
Docker Build and Push / integration-test (pull_request) Failing after 2m25s
Docker Build and Push / build (pull_request) Skipped
PR Checks / pytest (pull_request) Successful in 1m50s

This commit is contained in:
OpenCode Cabillot committed 2026-10-09 12:35:55 +00:00
1 parent 6997326b81
commit ef8fe35da7
1 file changed
+4 -1
+4 -1
View File
@@ -64,7 +64,10 @@ def qdrant_setup():
# and what it holds (CI 404 diagnosis).
import logging
dbg = logging.getLogger("integration.debug")
dbg.warning("qdrant client url: %s", getattr(client, "_client", client).base_url if hasattr(client, "_client") else client)
try:
dbg.warning("qdrant client url: %s", client.http._client.base_url)
except Exception:
dbg.warning("qdrant client url: <introspection failed>")
server_info = None
try:
server_info = client.get_collections()