This is an automated email from the ASF dual-hosted git repository.

dsmiley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/main by this push:
     new 07fdebdda54 BATS: fix test_security_manager allowPaths test on Java 
24+ (#5225)
07fdebdda54 is described below

commit 07fdebdda54a24085086281da1cde701e122564d
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]>
---
 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 9dc1d022ced..1843557c346 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'
 }

Reply via email to