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

Robert Muir commented on LUCENE-2751:
-------------------------------------

There is a downside to this whole issue of course... i think its going to be 
harder to reproduce test fails since we will be using more multithreading.

But I think its a worthwhile tradeoff in being able to detect more 
thread-safety bugs.
If it becomes a huge hassle, we could always disable it by default or enable 
only with a flag or something like that.


> add LuceneTestCase.newSearcher()
> --------------------------------
>
>                 Key: LUCENE-2751
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2751
>             Project: Lucene - Java
>          Issue Type: Test
>          Components: Build
>            Reporter: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2751.patch, LUCENE-2751.patch
>
>
> Most tests in the search package don't care about what kind of searcher they 
> use.
> we should randomly use MultiSearcher or ParallelMultiSearcher sometimes in 
> tests.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to