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

Michael McCandless commented on LUCENE-2751:
--------------------------------------------

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

Right.

But I think this (losing reproducibility sometimes) is the lesser evil?  Ie, 
making sure we tease out thread safety bugs trumps reproducibility...

> 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: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to