lucene-pylucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andi Vajda <va...@apache.org>
Subject Re: failure of some PyLucene tests on windows OS
Date Thu, 14 Apr 2011 16:17:48 GMT

On Apr 14, 2011, at 2:22, "Thomas Koch" <koch@orbiteam.de> wrote:

>> Well, sure, not running the code that breaks solves the problem. But can
> you
>> then run the tests multiple times ?
>> 
> [Thomas Koch] note that previously closeStore() was not called, but now when
> calling it the test_PyLucene runs OK.
> 
> And yes I can run tests several times- on PyLucene2.9 the index-dirs
> testrepo and testpyrepo are cleaned up (i.e. removed) after tests succeed.
> With PyLucene3.1 the testpyrepo is left (because test_PythonDirectory.py
> fails to cleanup).
> 
>>> So this looks like a problem in the test-code rather than in
>>> windows/python/pyLucene - some store not being closed results in file
> lock.
>> 
>> Not sure if the bug is there.
> 
> Me neither ,-( 
> 
> Just for test_PyLucene the 'test-code-fix' fixes the issue. Another problem
> is the dependency between test_PythonDirectory and test_PyLucene:
> test_PythonDirectory uses tests defined in test_PyLucene which makes it bit
> difficult to figure out where the problem is...
> 
> 
> So has anyone seen this problem before? 

I'd expect anyone running on Windows to see these test failures. 

Andi..

> 
> 
> Regards,
> Thomas
> 

Mime
View raw message