[ 
https://issues.apache.org/jira/browse/SOLR-3268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238685#comment-13238685
 ] 

Hoss Man commented on SOLR-3268:
--------------------------------

if locking down src/ so tests can't make changes is tricky to do safely, 
perhaps a we could do something simpler to get us part way towards the ultimate 
goal? ... add a final step to the jenkins build script that fails if "svn 
status | wc -l" returns non-zero?

it wont't ensure no changes are made to src/, but it should ensure no changes 
are made to src/ unless explicitly allowed by an svn:ignore ... then we just 
have to (remove any existing svn:ignore under /src and) make sure we publicly 
shame anyone who adds svn:ignores to src/ because they wrote a sloppy test.
                
> remove write acess to source tree (chmod 555) when running tests in jenkins
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-3268
>                 URL: https://issues.apache.org/jira/browse/SOLR-3268
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Robert Muir
>            Assignee: Robert Muir
>             Fix For: 4.0
>
>         Attachments: SOLR-3268_sync.patch
>
>
> Some tests are currently creating files under the source tree.
> This causes a lot of problems, it makes my checkout look dirty after running 
> 'ant test' and i have to cleanup.
> I opened and issue for this a month in a half for 
> solrj/src/test-files/solrj/solr/shared/test-solr.xml (SOLR-3112), 
> but now we have a second file 
> (core/src/test-files/solr/conf/elevate-data-distrib.xml).
> So I think hudson needs to chmod these src directories to 555, so that solr 
> tests that do this will fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to