lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <>
Subject [jira] [Commented] (SOLR-2543) Backport the trunk's version of SolrTestCaseJ4 to 3x branch.
Date Fri, 27 May 2011 18:52:47 GMT


Michael McCandless commented on SOLR-2543:

I'm not sure why, but when I apply this patch and then run "ant test" from solr subdir, this
test consistently fails:
    [junit] Testsuite: org.apache.solr.spelling.SpellPossibilityIteratorTest
    [junit] Testcase: org.apache.solr.spelling.SpellPossibilityIteratorTest:	FAILED
    [junit] ERROR: SolrIndexSearcher opens=10 closes=9
    [junit] junit.framework.AssertionFailedError: ERROR: SolrIndexSearcher opens=10 closes=9
    [junit] 	at org.apache.solr.SolrTestCaseJ4.endTrackingSearchers(
    [junit] 	at org.apache.solr.SolrTestCaseJ4.deleteCore(
    [junit] 	at org.apache.solr.SolrTestCaseJ4.afterClassSolrTestCase(

If I run {{ant test -Dtestcase=SpellPossibilityTest}} then it does not fail.  Very strange.

> Backport the trunk's version of SolrTestCaseJ4 to 3x branch.
> ------------------------------------------------------------
>                 Key: SOLR-2543
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Martijn van Groningen
>            Assignee: Martijn van Groningen
>            Priority: Minor
>             Fix For: 3.2
>         Attachments: SOLR-2543.patch
> The trunk version has some methods / utilities to provide random testing.
> SOLR-2524 has a back ported random test from trunk, that needs this infrastructure.

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