This is an automated email from the ASF dual-hosted git repository. apupier pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 77839adcad59fa9ad06c78c23f1ef3be36d82b94 Author: Aurélien Pupier <[email protected]> AuthorDate: Wed Sep 11 10:24:00 2024 +0200 Adapt solr test to api break of Solr 9.7.0 Signed-off-by: Aurélien Pupier <[email protected]> --- .../src/test/java/org/apache/camel/component/solr/SolrCloudFixture.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrCloudFixture.java b/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrCloudFixture.java index b0eb34eb31c..cddcdaf1b89 100644 --- a/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrCloudFixture.java +++ b/components/camel-solr/src/test/java/org/apache/camel/component/solr/SolrCloudFixture.java @@ -134,7 +134,7 @@ public class SolrCloudFixture { String destPath = "/configs/" + confName + "/" + destName; LOG.info("zk put {} to {}", file.getAbsolutePath(), destPath); - zkClient.makePath(destPath, file.toPath(), false, true); + zkClient.makePath(destPath, Files.readAllBytes(file.toPath()), false, true); } // static to share with distrib test
