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 17:20:33 UTC

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

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

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


The following commit(s) were added to refs/heads/branch_9x by this push:
     new fec00ba35f5 SOLR-16804 Simplify testing modified dependencies. (#1648) (#1658)
fec00ba35f5 is described below

commit fec00ba35f5dc8482372ce40ab706261e42cbc77
Author: Gus Heck <46...@users.noreply.github.com>
AuthorDate: Tue May 23 13:20:29 2023 -0400

    SOLR-16804 Simplify testing modified dependencies. (#1648) (#1658)
    
    (cherry picked from commit 29fa8d2a0150ddbdf7c965269d9d69a1b2763a99)
---
 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";
 };