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

Robert Muir commented on LUCENE-3374:
-------------------------------------

I ran them again and got a fail:
{noformat}
    [junit] Testsuite: org.apache.lucene.index.TestCrash
    [junit] Testcase: testWriterAfterCrash(org.apache.lucene.index.TestCrash):  
FAILED
    [junit] (null)
    [junit] junit.framework.AssertionFailedError
    [junit]     at 
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1535)
    [junit]     at 
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1437)
    [junit]     at 
org.apache.lucene.store.NRTCachingDirectory.deleteFile(NRTCachingDirectory.java:158)
    [junit]     at 
org.apache.lucene.store.MockDirectoryWrapper.deleteFile(MockDirectoryWrapper.java:336)
    [junit]     at 
org.apache.lucene.store.MockDirectoryWrapper.deleteFile(MockDirectoryWrapper.java:294)
    [junit]     at 
org.apache.lucene.index.IndexFileDeleter.deleteFile(IndexFileDeleter.java:572)
    [junit]     at 
org.apache.lucene.index.IndexFileDeleter.<init>(IndexFileDeleter.java:273)
    [junit]     at 
org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:906)
    [junit]     at 
org.apache.lucene.index.TestCrash.initIndex(TestCrash.java:39)
    [junit]     at 
org.apache.lucene.index.TestCrash.testWriterAfterCrash(TestCrash.java:85)
    [junit] 
    [junit] 
    [junit] Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 6.618 sec
    [junit] 
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestCrash 
-Dtestmethod=testWriterAfterCrash 
-Dtests.seed=3196b05b20cf6a20:6f1b3eaa7f0f71ee:557c08ae3c634d12
    [junit] NOTE: test params are: codec=RandomCodecProvider: 
{id=MockVariableIntBlock(baseBlockSize=68), content=Pulsing(freqCutoff=16)}, 
locale=de_CH, timezone=Asia/Jakarta
    [junit] NOTE: all tests run in this JVM:
    [junit] [TestAssertions, TestCharTermAttributeImpl, TestAtomicUpdate, 
TestByteSlices, TestCodecs, TestCrash]
    [junit] NOTE: Linux 2.6.38-10-generic amd64/Sun Microsystems Inc. 1.6.0_24 
(64-bit)/cpus=8,threads=1,free=248890808,total=349569024
    [junit] ------------- ---------------- ---------------
    [junit] TEST org.apache.lucene.index.TestCrash FAILED
{noformat}

So I cannot commit this patch just yet, I'll look into this fail later this 
evening.

> move nrtcachingdir to core in 4.0
> ---------------------------------
>
>                 Key: LUCENE-3374
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3374
>             Project: Lucene - Java
>          Issue Type: Task
>            Reporter: Robert Muir
>         Attachments: LUCENE-3374.patch
>
>
> in 4.0 with the IOContext changes this implementation is clean and I think we 
> should move it to core and use it in our tests etc.

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

        

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

Reply via email to