lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: LuceneJUnitResultFormatter sometimes fails to lock
Date Tue, 27 Apr 2010 16:27:41 GMT
When aquiring a test lock it does not wait. It just is not able to produce the file there.
This happens sometimes on windows and has nothing to do with the tests, is a problem of NativeLockF.

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: Mark Miller [mailto:markrmiller@gmail.com]
> Sent: Tuesday, April 27, 2010 6:20 PM
> To: dev@lucene.apache.org
> Subject: Re: LuceneJUnitResultFormatter sometimes fails to lock
> 
> We might need a higher timeout. Its like 5 seconds now. Otherwise we
> should try and isolate the problem.
> 
> - Mark
> 
> On 4/27/10 11:52 AM, Uwe Schindler wrote:
> > Windows?
> >
> > -----
> >
> > Uwe Schindler
> >
> > H.-H.-Meier-Allee 63, D-28213 Bremen
> >
> > http://www.thetaphi.de <http://www.thetaphi.de/>
> >
> > eMail: uwe@thetaphi.de
> >
> > *From:* Shai Erera [mailto:serera@gmail.com]
> > *Sent:* Tuesday, April 27, 2010 5:50 PM
> > *To:* dev@lucene.apache.org
> > *Subject:* LuceneJUnitResultFormatter sometimes fails to lock
> >
> > Hi
> >
> > I ran "ant test-core" today and hit this:
> >
> > [junit] Exception in thread "main" java.lang.RuntimeException: Failed
> to
> > acquire random test lock; please verify filesystem for lock directory
> > 'C:\DOCUME~1\shaie\LOCALS~1\Temp\lucene_junit_lock' supports locking
> > [junit] at
> >
> org.apache.lucene.store.NativeFSLockFactory.acquireTestLock(NativeFSLoc
> kFactory.java:88)
> > [junit] at
> >
> org.apache.lucene.store.NativeFSLockFactory.makeLock(NativeFSLockFactor
> y.java:127)
> > [junit] at
> >
> org.apache.lucene.util.LuceneJUnitResultFormatter.<init>(LuceneJUnitRes
> ultFormatter.java:74)
> >
> > All the tests still pass, but Ant reports a failure in the end. Also,
> > this rarely happens, but I've run into it several times already.
> Anyone
> > got an idea?
> >
> > Shai
> >
> 
> 
> --
> - Mark
> 
> http://www.lucidimagination.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org



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


Mime
View raw message