Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 48243 invoked from network); 12 Apr 2011 15:21:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Apr 2011 15:21:45 -0000 Received: (qmail 26154 invoked by uid 500); 12 Apr 2011 15:21:44 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 26057 invoked by uid 500); 12 Apr 2011 15:21:44 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 26050 invoked by uid 99); 12 Apr 2011 15:21:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 15:21:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Apr 2011 15:21:43 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 58C309EB1D for ; Tue, 12 Apr 2011 15:21:06 +0000 (UTC) Date: Tue, 12 Apr 2011 15:21:06 +0000 (UTC) From: "Simon Willnauer (JIRA)" To: dev@lucene.apache.org Message-ID: <61415814.52435.1302621666360.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <335372441.52355.1302619985838.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (LUCENE-3025) TestIndexWriterExceptions fails on windows (2) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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