lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-4275) Threaded tests with MockDirectoryWrapper delete active PostingFormat files
Date Wed, 01 Aug 2012 11:17:03 GMT

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

Michael McCandless commented on LUCENE-4275:
--------------------------------------------

{quote}
Nailed it, Mike. Yet another beer I owe you.
 I removed the IllegalStateException and it looks like the retry logic is now kicking in and
all tests pass
{quote}
Sorry it took me so long to see this!

bq. I propose adding:

+1, maybe just add "when IndexWriter finishes a commit while an IndexReader is opening"? 
Or I can tweak it after you commit ... thanks!
                
> Threaded tests with MockDirectoryWrapper delete active PostingFormat files
> --------------------------------------------------------------------------
>
>                 Key: LUCENE-4275
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4275
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/codecs, general/test
>    Affects Versions: 4.0-ALPHA
>         Environment: Win XP 64bit Sun JDK 1.6
>            Reporter: Mark Harwood
>             Fix For: 4.0
>
>         Attachments: Lucene-4275-TestClass.patch
>
>
> As part of testing Lucene-4069 I have encountered sporadic issues with files going missing.
I believe this is a bug in the test framework (multi-threading issues in MockDirectoryWrapper?)
so have raised a separate issue with simplified test PostingFormat class here.
> Using this test PF will fail due to a missing file roughly one in four times of executing
this test:
> ant test-core  -Dtestcase=TestIndexWriterCommit -Dtests.method=testCommitThreadSafety
-Dtests.seed=EA320250471B75AE -Dtests.slow=true -Dtests.postingsformat=TestNonCoreDummyPostingsFormat
-Dtests.locale=no -Dtests.timezone=Europe/Belfast -Dtests.file.encoding=UTF-8 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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