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

Robert Muir updated LUCENE-2751:
--------------------------------

    Attachment: LUCENE-2751_branch3x.patch

It seems this uncovered some monsters in branch_3x (unless i severely screwed 
things up).

Attached is a patch of my merge... there are problems: some tests totally hang 
(e.g. TestLazyProxSkipping), and if TestSort gets a parallel executor, 
testNormalizedScores fails:
{noformat}
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestSort 
-Dtestmethod=testNormalizedScores 
-Dtests.seed=367124575585283127:1927326607030239825
    [junit] NOTE: test params are: locale=zh_SG, timezone=America/Tijuana
    [junit] NOTE: all tests run in this JVM:
    [junit] [TestSort]
    [junit] NOTE: Windows Vista 6.0 x86/Sun Microsystems Inc. 1.6.0_23 
(32-bit)/cpus=4,threads=1,free=12557672,total=16252928
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: testNormalizedScores(org.apache.lucene.search.TestSort):  
FAILED
    [junit] expected:<1.6163856983184814> but was:<NaN>
    [junit] junit.framework.AssertionFailedError: expected:<1.6163856983184814> 
but was:<NaN>
    [junit]     at 
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1045)
    [junit]     at 
org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:977)
    [junit]     at 
org.apache.lucene.search.TestSort.assertSameValues(TestSort.java:1094)
    [junit]     at 
org.apache.lucene.search.TestSort.testNormalizedScores(TestSort.java:668)
    [junit]
    [junit]
    [junit] Test org.apache.lucene.search.TestSort FAILED
{noformat}

Posting the patch of the merge so we can hopefully debug through these.


> 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