lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <>
Subject RE: Can't seem to run individual tests
Date Wed, 13 Mar 2013 15:56:35 GMT
The security manager enforces that no files are created outside of the test’s working directory
or System.exit() is called (and some other fancy things, like listening on the internet instead
of When your test tries to create a file outside the working directory setup for
this test, it fails.


It might be caused by a test directly working on a solr core somewhere in examples directory
and of course then starting to write files there. A test must clone the core to its own temp
dir and then run the test. Or alternatively it must set the dataDir correctly (using getTempDir()).





Uwe Schindler

H.-H.-Meier-Allee 63, D-28213 Bremen




From: Erick Erickson [] 
Sent: Wednesday, March 13, 2013 4:19 PM
Subject: Re: Can't seem to run individual tests




Thanks, another bit of knowledge to add to my store.


On Wed, Mar 13, 2013 at 11:00 AM, Dawid Weiss <> wrote:

> This is a really bogus place to be creating an index, I'm glad it fails...
> Of course it succeeds when running in IntelliJ.

I can explain this bit -- it fails from ant only because only from ant
you have Uwe's Evil Security Manager (tm) in place.


To unsubscribe, e-mail:
For additional commands, e-mail:


View raw message