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 15:52:30 GMT
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(NativeFSLockFactory.java:88)
[junit] at org.apache.lucene.store.NativeFSLockFactory.makeLock(NativeFSLockFactory.java:127)
[junit] at org.apache.lucene.util.LuceneJUnitResultFormatter.<init>(LuceneJUnitResultFormatter.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


Mime
View raw message