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
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:
1 parent
a597ecf6a2
commit
6997326b81
1 file changed
+2
-2
@@ -64,7 +64,7 @@ def qdrant_setup():
|
|||||||
# and what it holds (CI 404 diagnosis).
|
# and what it holds (CI 404 diagnosis).
|
||||||
import logging
|
import logging
|
||||||
dbg = logging.getLogger("integration.debug")
|
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
|
server_info = None
|
||||||
try:
|
try:
|
||||||
server_info = client.get_collections()
|
server_info = client.get_collections()
|
||||||
@@ -92,7 +92,7 @@ def qdrant_setup():
|
|||||||
if collection_name not in names_after:
|
if collection_name not in names_after:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
f"Fixture created collection {collection_name} but it is not in "
|
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
|
# Index test emails
|
||||||
|
|||||||
Reference in new issue
Block a user