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-3253) TestIndexwriterWithThreads#testCloseWithThreads hangs if a thread hit an exception before indexing its first document
Date Tue, 28 Jun 2011 12:30:17 GMT

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

Michael McCandless commented on LUCENE-3253:
--------------------------------------------

Patch looks good -- nice catch!

> 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


Mime
View raw message