You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "janhoy (via GitHub)" <gi...@apache.org> on 2025/08/31 23:10:01 UTC

[PR] Fix failing MiniClusterBenchStateTest [solr]

janhoy opened a new pull request, #3585:
URL: https://github.com/apache/solr/pull/3585

   Draft PR that skips the code that makes configset path absolute, which does not fly with security manager.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] Fix failing MiniClusterBenchStateTest [solr]

Posted by "epugh (via GitHub)" <gi...@apache.org>.
epugh commented on PR #3585:
URL: https://github.com/apache/solr/pull/3585#issuecomment-3245314256

   I _feel_ like what i saw was that using a RELATIVE path didn't work.  Only a fully qualified path worked when calling from the bin/solr script.   So, to support a RELATIVE path, then I added this.   I will take a fresh look and see if I can't do a smaller change.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] Fix failing MiniClusterBenchStateTest [solr]

Posted by "dsmiley (via GitHub)" <gi...@apache.org>.
dsmiley commented on PR #3585:
URL: https://github.com/apache/solr/pull/3585#issuecomment-3240781166

   Would a root cause fix be a SecurityManager `solr-tests.policy` change to ensure that the install path is readable?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] Fix failing MiniClusterBenchStateTest [solr]

Posted by "janhoy (via GitHub)" <gi...@apache.org>.
janhoy closed pull request #3585: Fix failing MiniClusterBenchStateTest
URL: https://github.com/apache/solr/pull/3585


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] Fix failing MiniClusterBenchStateTest [solr]

Posted by "janhoy (via GitHub)" <gi...@apache.org>.
janhoy commented on PR #3585:
URL: https://github.com/apache/solr/pull/3585#issuecomment-3241040759

   > Would a root cause fix be a SecurityManager `solr-tests.policy` change to ensure that the install path is readable?
   
   Why is this location even configurable, if we always want the same folder within the install path? Is it only for tests? If so, could the test set the sysprop as absolute from the beginning?
   
   @epugh What was the reasoning behind the code change to convert to absolute path? What is the right fix in your eyes?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org


Re: [PR] Fix failing MiniClusterBenchStateTest [solr]

Posted by "janhoy (via GitHub)" <gi...@apache.org>.
janhoy commented on PR #3585:
URL: https://github.com/apache/solr/pull/3585#issuecomment-3247035024

   Remember than when running tests locally, the security manager is not automatically enabled. It *is* enabled when running `bin/solr` from a shell though.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org