risdenk commented on PR #1044: URL: https://github.com/apache/solr/pull/1044#issuecomment-1274833300
I don't know how to test this w/ BATS - since we have mixed security policies in build dirs :/ I don't know which security policy rule is allowing this to work in the tests. I would guess install, home, data, or config dirs. ``` ➜ solr git:(main) ✗ tail -f solr/packaging/build/test-output/solr-home/logs/solr-8983-console.log | grep -F calcite-tes t access: access allowed ("java.io.FilePermission" "../calcite-test-dataset" "read") access: access allowed ("java.io.FilePermission" "../../calcite-test-dataset" "read") ``` The absolute path is `/Users/risdenk/repos/apache/solr/solr/packaging/build/solr-10.0.0-SNAPSHOT/server/../calcite-test-dataset` I'm running `./gradlew integrationTests --tests test_modules.bats` in `/Users/risdenk/repos/apache/solr/` and added `-a "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005" -Djava.security.debug=access` to `test_modules.bats` -- 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-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org