Aurélien Pupier created CAMEL-22766:
---------------------------------------
Summary: Fix issue related to failing test
LangChain4jEmbeddingsComponentQdrantTargetIT.rag_similarity_search
Key: CAMEL-22766
URL: https://issues.apache.org/jira/browse/CAMEL-22766
Project: Camel
Issue Type: Test
Components: camel-langchain4j-embeddings
Reporter: Aurélien Pupier
the test has failed 34 times in a row on all JDk versions
{noformat}
org.opentest4j.AssertionFailedError:
expected:
null
but was:
QdrantActionException{action=SIMILARITY_SEARCH,
message=io.grpc.StatusRuntimeException: INVALID_ARGUMENT: Wrong input: Vector
dimension error: expected dim: 384, got 0}
at
org.apache.camel.component.qdrant.QdrantProducer.lambda$similaritySearch$0(QdrantProducer.java:301)
at
org.apache.camel.component.qdrant.QdrantProducer$1.onFailure(QdrantProducer.java:334)
at
com.google.common.util.concurrent.Futures$CallbackListener.run(Futures.java:1117)
...(3 remaining lines not displayed - this can be changed with
Assertions.setMaxStackTraceElementsDisplayed)
at
org.apache.camel.component.langchain4j.embeddings.LangChain4jEmbeddingsComponentQdrantTargetIT.rag_similarity_search(LangChain4jEmbeddingsComponentQdrantTargetIT.java:117)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)