epugh commented on code in PR #5225:
URL: https://github.com/apache/solr/pull/5225#discussion_r4368926076
##########
solr/packaging/test/test_security_manager.bats:
##########
@@ -50,5 +50,6 @@ teardown() {
backup_dir_other="${backup_dir}-other"
mkdir -p "${backup_dir_other}"
run solr api --solr-url
"http://localhost:${SOLR_PORT}/solr/admin/collections?action=BACKUP&name=test-fail&collection=COLL_NAME&location=file://${backup_dir_other}"
- assert_output --partial 'access denied'
+ # Java 24+ has no security manager; Solr's allowPaths check rejects it
instead
+ assert_output --regexp 'access denied|Could not backup all shards'
Review Comment:
I learned something new on this! cool.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]