lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <>
Subject [jira] [Updated] (SOLR-5883) Shutdown SolrServer on tests
Date Wed, 19 Mar 2014 17:55:44 GMT


Tomás Fernández Löbbe updated SOLR-5883:

    Attachment: SOLR-5883.patch

> Shutdown SolrServer on tests
> ----------------------------
>                 Key: SOLR-5883
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.7, 5.0
>            Reporter: Tomás Fernández Löbbe
>            Priority: Minor
>         Attachments: SOLR-5883.patch
> I noticed that many tests create multiple HttpSolrServer but never call the shutdown.
I created a Jira for BasicDistributedZk2Test and BasicDistributedZkTest some time ago but
didn’t check for all tests (SOLR-5684). I added the missing shutdowns that I found in other
tests now. 
> I’m also wondering if it makes sense to add some kind of check in the tests, in a similar
way that open/close of IndexSearchers is checked (probably, not blocking or falling the test
if open/close doesn’t much, but maybe to output a warning to the logs?)

This message was sent by Atlassian JIRA

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

View raw message