Skip to content

Apache Lucene open-source search software

Remove special-case for enwiki (we run tests on Jenkins without security manager instead)

Uwe Schindlerf00843419f74
diff --git a/lucene/tools/junit4/tests.policy b/lucene/tools/junit4/tests.policy
index f1d8f106dc2..2a623b70cea 100644
--- a/lucene/tools/junit4/tests.policy
+++ b/lucene/tools/junit4/tests.policy
@@ -28,10 +28,6 @@ grant {
// should be enclosed within common.dir, but just in case:
permission java.io.FilePermission "${junit4.childvm.cwd}", "read";
- // jenkins wants to read outside its sandbox, to use a special linedocs file.
- // this is best effort and not really supported.
- permission java.io.FilePermission "/home/jenkins/lucene-data/enwiki.random.lines.txt", "read";
-
// write only to sandbox
permission java.io.FilePermission "${junit4.childvm.cwd}${/}temp", "read,write,delete";
permission java.io.FilePermission "${junit4.childvm.cwd}${/}temp${/}-", "read,write,delete";