You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2011/04/12 16:53:05 UTC

[jira] [Created] (LUCENE-3025) TestIndexWriterExceptions fails on windows (2)

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


[jira] [Resolved] (LUCENE-3025) TestIndexWriterExceptions fails on windows (2)

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Muir resolved LUCENE-3025.
---------------------------------

    Resolution: Duplicate

fixed in LUCENE-3147

> 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


[jira] [Commented] (LUCENE-3025) TestIndexWriterExceptions fails on windows (2)

Posted by "Simon Willnauer (JIRA)" <ji...@apache.org>.
    [ 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


[jira] [Commented] (LUCENE-3025) TestIndexWriterExceptions fails on windows (2)

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-3025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018849#comment-13018849 ] 

Robert Muir commented on LUCENE-3025:
-------------------------------------

junit-sequential:
    [junit] Testsuite: org.apache.lucene.index.TestIndexWriterExceptions
    [junit] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.681 sec
    [junit]
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestIndexWriterExceptions -Dtestmethod=testExceptionsDuringCommit -Dtests.seed=-2008642232753917842:-38943
12978511486973 -Dtests.codec=MockRandom
    [junit] NOTE: test params are: codec=MockRandom, locale=sl, timezone=Asia/Pyongyang
    [junit] NOTE: all tests run in this JVM:
    [junit] [TestIndexWriterExceptions]
    [junit] NOTE: Windows Vista 6.0 x86/Sun Microsystems Inc. 1.6.0_23 (32-bit)/cpus=4,threads=1,free=14526984,total=32202752
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: testExceptionsDuringCommit(org.apache.lucene.index.TestIndexWriterExceptions):    FAILED
    [junit]
    [junit] junit.framework.AssertionFailedError:
    [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1232)
    [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1160)
    [junit]     at org.apache.lucene.index.TestIndexWriterExceptions.testExceptionsDuringCommit(TestIndexWriterExceptions.java:867)
    [junit]
    [junit]
    [junit] Test org.apache.lucene.index.TestIndexWriterExceptions FAILED

> 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