[ 
https://issues.apache.org/jira/browse/LUCENE-4337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Uwe Schindler updated LUCENE-4337:
----------------------------------

    Attachment: LUCENE-4337.patch

Very simple patch:

This adds some sysprops to the test runner to throw a SecurityException, when a 
test tries the following:

- Create, delete or write to files outside ${build.dir}. This is mostly 
working, only some Solr tests directly start the example server without cloning 
it before, causing that the initial index is created! This should never happen, 
as it modifies checkout outside build.dir - Example: TestMultiCoreConfBootstrap
- Open ports on any other address than 127.0.0.1 (e.g., TestJmxMonitoredMap)

                
> Create Java security manager for forcible asserting behaviours in testing
> -------------------------------------------------------------------------
>
>                 Key: LUCENE-4337
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4337
>             Project: Lucene - Core
>          Issue Type: Bug
>    Affects Versions: 4.1, 5.0, 4.0
>            Reporter: Greg Bowyer
>            Assignee: Greg Bowyer
>         Attachments: LUCENE-4337.patch
>
>
> Following on from conversations about mutation testing, there is an interest 
> in building a Java security manager that is able to assert / guarantee 
> certain behaviours 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to