You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@solr.apache.org by gu...@apache.org on 2023/05/23 15:12:23 UTC

[solr] branch main updated: SOLR-16804 Simplify testing modified dependencies. (#1648)

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

gus 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 29fa8d2a015 SOLR-16804 Simplify testing modified dependencies. (#1648)
29fa8d2a015 is described below

commit 29fa8d2a0150ddbdf7c965269d9d69a1b2763a99
Author: Gus Heck <46...@users.noreply.github.com>
AuthorDate: Tue May 23 11:12:15 2023 -0400

    SOLR-16804 Simplify testing modified dependencies. (#1648)
---
 gradle/testing/randomization/policies/solr-tests.policy | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gradle/testing/randomization/policies/solr-tests.policy b/gradle/testing/randomization/policies/solr-tests.policy
index 2d699cdb56e..1f39648da6a 100644
--- a/gradle/testing/randomization/policies/solr-tests.policy
+++ b/gradle/testing/randomization/policies/solr-tests.policy
@@ -231,4 +231,6 @@ grant {
   permission java.io.FilePermission "${gradle.user.home}${/}-", "read";
   // Allow read access to Lucene jars if "-Plucene.dev.version=" or "-Plucene.dev.path=" is used
   permission java.io.FilePermission "${lucene-dev-path.dir}${/}-", "read";
+  // Allow testing effects of customized or bug-fixed dependencies locally (also need to add mavenLocal() to build)
+  permission java.io.FilePermission "${user.home}${/}.m2${/}repository${/}-", "read";
 };