This is an automated email from the ASF dual-hosted git repository. dsmiley pushed a commit to branch branch_9x in repository https://gitbox.apache.org/repos/asf/solr.git
commit c91b15461ee4bce3173adad0c048ce58c01acc6c Author: David Smiley <[email protected]> AuthorDate: Sun Oct 25 00:16:10 2026 -0400 BATS: fix test_security_manager allowPaths test on Java 24+ (#5225) Co-authored-by: Claude Opus 5.5 <[email protected]> (cherry picked from commit 07fdebdda54a24085086281da1cde701e122564d) (cherry picked from commit f45b38d5f6c0c9f7f1204f6d518aaad18a4a88b7) --- solr/packaging/test/test_security_manager.bats | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/solr/packaging/test/test_security_manager.bats b/solr/packaging/test/test_security_manager.bats index 853c1002f07..c7f2710dbce 100644 --- a/solr/packaging/test/test_security_manager.bats +++ b/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' }
