lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <>
Subject [jira] Commented: (SOLR-1239) org.apache.solr.client.solrj.embedded.MultiCoreEmbeddedTest FAILED
Date Wed, 24 Jun 2009 08:15:07 GMT


Shalin Shekhar Mangar commented on SOLR-1239:

Both MultiCoreEmbeddedTest and MergeIndexesEmbeddedTest fail because cores are being loaded
from the wrong directory after SOLR-1214

This happens because the TestHarness creates a CoreContainer using the current working directory
as the solrHome. Now these multicore tests call CoreContainer#load specifying a directory
from which config is to be loaded. The failure happens when a core is loaded using solrHome
(current working directory) in the CoreContainer#create method.

The CoreContainer#load needs to use loader.getInstanceDir instead of solrHome. In fact I think
solrHome should be set in CoreContainer#load using loader.getInstanceDir to handle such cases.

> org.apache.solr.client.solrj.embedded.MultiCoreEmbeddedTest FAILED
> ------------------------------------------------------------------
>                 Key: SOLR-1239
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Noble Paul
>             Fix For: 1.4
> this testcase fails

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message