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

Gabriele Kahlout commented on SOLR-2573:
----------------------------------------

some test classes may have to be adjusted too? (I don't know how they currently 
work).
{code}
public class AlternateDirectoryTest extends SolrTestCaseJ4 {
  @BeforeClass
  public static void beforeClass() throws Exception {
    initCore("solrconfig-altdirectory.xml", "schema.xml");
  }

  /**
   * Simple test to ensure that alternate IndexReaderFactory is being used.
   * 
   * @throws Exception
   */
  @Test
  public void testAltDirectoryUsed() throws Exception {
    assertQ(req("q","*:*","qt","standard")); //STANDARD DOESN'T EXIST ANYMORE
{code}

> Standard handler assumed as default in test breaks subclassing tests
> --------------------------------------------------------------------
>
>                 Key: SOLR-2573
>                 URL: https://issues.apache.org/jira/browse/SOLR-2573
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.2
>            Reporter: Gabriele Kahlout
>            Priority: Minor
>             Fix For: 3.4
>
>         Attachments: SOLR-2573.patch
>
>
> 'standard' is still specified as default qtype in TestHarness and 
> SolrTestCaseJ4, which makes tests that rely on the default fail.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to