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

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:
{noformat}
    [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(SolrTestCaseJ4.java:119)
    [junit]     at 
org.apache.solr.SolrTestCaseJ4.deleteCore(SolrTestCaseJ4.java:293)
    [junit]     at 
org.apache.solr.SolrTestCaseJ4.afterClassSolrTestCase(SolrTestCaseJ4.java:70)
{noformat}

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: https://issues.apache.org/jira/browse/SOLR-2543
>             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: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to