Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Bozhko committed Jan 30, 2025
1 parent e7c330c commit 5e6f1b4
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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.
Expand All @@ -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);
Expand Down

0 comments on commit 5e6f1b4

Please sign in to comment.