Skip to content

Commit

Permalink
Remove special-case for enwiki (we run tests on Jenkins without secur…
Browse files Browse the repository at this point in the history
…ity manager instead)
  • Loading branch information
uschindler committed Aug 15, 2016
1 parent b71ef3c commit f008434
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lucene/tools/junit4/tests.policy
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit f008434

Please sign in to comment.