From 5e6f1b403169656352330228c585448c4e157fa3 Mon Sep 17 00:00:00 2001 From: Andrey Bozhko Date: Thu, 30 Jan 2025 09:25:25 -0600 Subject: [PATCH] update comment --- .../embedded/TestEmbeddedSolrServerConstructors.java | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/solr/core/src/test/org/apache/solr/client/solrj/embedded/TestEmbeddedSolrServerConstructors.java b/solr/core/src/test/org/apache/solr/client/solrj/embedded/TestEmbeddedSolrServerConstructors.java index bc25d896b8d..825aaaa4ae1 100644 --- a/solr/core/src/test/org/apache/solr/client/solrj/embedded/TestEmbeddedSolrServerConstructors.java +++ b/solr/core/src/test/org/apache/solr/client/solrj/embedded/TestEmbeddedSolrServerConstructors.java @@ -68,7 +68,7 @@ public void testNodeConfigConstructor() throws Exception { @Test public void testPathConstructorZipFS() throws Exception { assumeTrue( - "Test only works without Security Manager due to SecurityConfHandlerLocal" + + "Test only works without Security Manager due to SecurityConfHandlerLocal " + "missing permission to read /1/2/3/4/security.json file", System.getSecurityManager() == null); @@ -102,7 +102,8 @@ public void testPathConstructorZipFS() throws Exception { PathUtils.copyDirectory(configset("zipfs"), confDir); // Need to make sure we circumvent any Solr attempts - // to modify the archive - so to achieve that we: + // to modify the archive when we point solrHome to + // the archive content. Steps to achieve that: // - set a custom data dir, // - disable the update log, // - configure the rest manager in the solrconfig.xml with InMemoryStorageIO. @@ -112,7 +113,8 @@ public void testPathConstructorZipFS() throws Exception { } // Then : - // EmbeddedSolrServer successfully loads the configset directly from the archive + // EmbeddedSolrServer successfully loads the core + // using the configset directly from the archive var configSetFs = FileSystems.newFileSystem(archive); try (configSetFs) { var server = new EmbeddedSolrServer(configSetFs.getPath("/1/2/3/4"), null);