lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Nithian (JIRA)" <>
Subject [jira] [Commented] (SOLR-3826) Allow unit test classes to specify core name during setup
Date Thu, 13 Sep 2012 23:24:07 GMT


Amit Nithian commented on SOLR-3826:

HossMan: Sure I'll take a stab at this. I didn't know this was a constant so I'll give a shot
to find it and reference it. Are there any existing docs about how to create tests with Solr?
I found there was some discussion on the mailing list. I'm happy to take a first pass at this
if you think it'd help.
> Allow unit test classes to specify core name during setup
> ---------------------------------------------------------
>                 Key: SOLR-3826
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 4.0-BETA
>            Reporter: Amit Nithian
>            Assignee: Hoss Man
>            Priority: Minor
>             Fix For: 4.0
>         Attachments: SOLR-3826.patch
> When creating a unit test extending SolrTestCaseJ4, the corename is forced to "collection1"
which can be problematic if you want to do unit tests relying on schema/solrconfig specific
to a core. Rather than hard-coding to "collection1" allow this to be specified in the initCore

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

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

View raw message