You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Simon Willnauer (JIRA)" <ji...@apache.org> on 2011/06/28 14:56:18 UTC

[jira] [Resolved] (LUCENE-3253) TestIndexwriterWithThreads#testCloseWithThreads hangs if a thread hit an exception before indexing its first document

     [ https://issues.apache.org/jira/browse/LUCENE-3253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Willnauer resolved LUCENE-3253.
-------------------------------------

       Resolution: Fixed
    Lucene Fields: [New, Patch Available]  (was: [New])

committed to trunk and backported to 3.x

> TestIndexwriterWithThreads#testCloseWithThreads hangs if a thread hit an exception before indexing its first document
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3253
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3253
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: core/index
>    Affects Versions: 3.4, 4.0
>            Reporter: Simon Willnauer
>            Assignee: Simon Willnauer
>            Priority: Minor
>             Fix For: 3.4, 4.0
>
>         Attachments: LUCENE-3253.patch
>
>
> in TestIndexwriterWithThreads#testCloseWithThreads we loop until all threads have indexed a single document but if one or more threads fail on before they index the first doc the test hangs forever. We should check if the thread is still alive unless it has indexed a document and fail if it already died.

--
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