From f00843419f7470a90215a92582f1fda69fb97e83 Mon Sep 17 00:00:00 2001 From: Uwe Schindler Date: Tue, 16 Aug 2016 00:34:37 +0200 Subject: [PATCH] Remove special-case for enwiki (we run tests on Jenkins without security manager instead) --- lucene/tools/junit4/tests.policy | 4 ---- 1 file changed, 4 deletions(-) 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";