aadrian opened a new pull request, #5437: URL: https://github.com/apache/solr/pull/5437
https://issues.apache.org/jira/browse/SOLR-18660 # Description Since the Gradle 9 upgrade, `./gradlew beast` runs no tests and still reports success. Its `test_N` tasks are plain `Test` tasks, and Gradle 9 no longer fills in `testClassesDirs` and `classpath` for those, so the tasks are skipped as NO-SOURCE. # Solution The beast subtasks take `testClassesDirs` and `classpath` from the `test` source set, as Lucene did in apache/lucene#15544. Only the `beast` task changes; `test` and all other tasks are untouched. # Tests `./gradlew -p solr/core beast -Ptests.dups=2 --tests org.apache.solr.core.backup.BackupIdTest`: before, both runs NO-SOURCE; now 3 tests each. `:solr:solrj:beast -Ptests.dups=3` runs 3 times, each with its own seed. A filter that matches no test now fails with "No tests found for the given filters?" instead of passing. Ran `./gradlew tidy`, `./gradlew check -x test`. # Checklist - [x] I have reviewed the guidelines for [How to Contribute](https://github.com/apache/solr/blob/main/CONTRIBUTING.md) and my code conforms to the standards described there to the best of my ability. -- 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]
