lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Willnauer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3025) TestIndexWriterExceptions fails on windows (2)
Date Tue, 12 Apr 2011 15:21:06 GMT

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

Simon Willnauer commented on LUCENE-3025:
-----------------------------------------

bq. Note: this is a different problem than LUCENE-2991 (I disabled the assert for that problem).

Robert, I think this is the same problem as LUCENE-2991 has. I actually wonder if that problem
still occurs if we close the directory first and then reopen another one to see if the files
are still there. I don't have a windows ready to try it myself but what I would be interested
in is if this situation occurs are there still open files around? I mean if we are holding
on to the files and this test doesn't fail on unix then we have a problem with MockDirectoryWrapper
since it is supposed to 'act' like windows in that respect.

When I look at w.rollback() I see a possibility that this test can fail under windows since
it is calling closeInternal(false) that does not wait for merges. So some of the files can
still be referenced by the merger. I wonder if it makes sense to call w.close() to make sure
all files are done before checking if the files have been removed.


> TestIndexWriterExceptions fails on windows (2)
> ----------------------------------------------
>
>                 Key: LUCENE-3025
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3025
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Robert Muir
>
> Note: this is a different problem than LUCENE-2991 (I disabled the assert for that problem).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

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


Mime
View raw message