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

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

I fixed the hangs, it was due to a similar recursion bug that trunk had 
(IndexSearcher
setting itself as a sub).

I committed the patch, but i added an @Ignore to the testNormalizeScores:
{noformat}
[junit] Testsuite: org.apache.lucene.search.TestSort
[junit] Tests run: 26, Failures: 0, Errors: 0, Time elapsed: 2.471 sec
[junit]
[junit] ------------- Standard Error -----------------
[junit] NOTE: Ignoring test method 'testNormalizedScores': Fix me! Fails if one 
of the subs is a threaded indexsearcher
[junit] ------------- ---------------- ---------------
{noformat}

I think we should get to the bottom of why this one fails... I'll keep the 
issue open.



> 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
>            Assignee: Robert Muir
>             Fix For: 3.1, 4.0
>
>         Attachments: LUCENE-2751.patch, LUCENE-2751.patch, LUCENE-2751.patch, 
> LUCENE-2751.patch, LUCENE-2751.patch, LUCENE-2751.patch, 
> LUCENE-2751_branch3x.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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to