lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] Updated: (LUCENE-2751) add LuceneTestCase.newSearcher()
Date Thu, 03 Feb 2011 01:52:29 GMT


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:
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: reproduce with: ant test -Dtestcase=TestSort -Dtestmethod=testNormalizedScores
    [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(  FAILED
    [junit] expected:<1.6163856983184814> but was:<NaN>
    [junit] junit.framework.AssertionFailedError: expected:<1.6163856983184814> but
    [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(
    [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(
    [junit]     at
    [junit]     at
    [junit] Test FAILED

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

> add LuceneTestCase.newSearcher()
> --------------------------------
>                 Key: LUCENE-2751
>                 URL:
>             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:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message