This is an automated email from the ASF dual-hosted git repository. abenedetti pushed a commit to branch branch_9x in repository https://gitbox.apache.org/repos/asf/solr.git
commit cca9a7ac630b4df98dbc9381446af896434f88f9 Author: Alessandro Benedetti <[email protected]> AuthorDate: Thu Mar 13 17:13:18 2025 +0000 SOLR-17632: minors --- .../update/processor/TextToVectorUpdateProcessorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/solr/modules/llm/src/test/org/apache/solr/llm/textvectorisation/update/processor/TextToVectorUpdateProcessorTest.java b/solr/modules/llm/src/test/org/apache/solr/llm/textvectorisation/update/processor/TextToVectorUpdateProcessorTest.java index 8614d637c5f..13508c87ddd 100644 --- a/solr/modules/llm/src/test/org/apache/solr/llm/textvectorisation/update/processor/TextToVectorUpdateProcessorTest.java +++ b/solr/modules/llm/src/test/org/apache/solr/llm/textvectorisation/update/processor/TextToVectorUpdateProcessorTest.java @@ -17,10 +17,10 @@ package org.apache.solr.llm.textvectorisation.update.processor; import java.io.IOException; -import org.apache.solr.client.solrj.SolrClient; import org.apache.solr.client.solrj.SolrQuery; import org.apache.solr.client.solrj.SolrServerException; import org.apache.solr.client.solrj.request.UpdateRequest; +import org.apache.solr.common.SolrException; import org.apache.solr.common.SolrInputDocument; import org.apache.solr.llm.TestLlmBase; import org.apache.solr.llm.textvectorisation.store.rest.ManagedTextToVectorModelStore; @@ -74,7 +74,7 @@ public class TextToVectorUpdateProcessorTest extends TestLlmBase { RuntimeException thrown = assertThrows( "model not found should throw an exception", - SolrClient.RemoteSolrException.class, + SolrException.class, () -> { addWithChain( sdoc("id", "99", "_text_", "Vegeta is the saiyan prince."), "textToVector");
