lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <>
Subject [jira] [Commented] (SOLR-2500) TestSolrCoreProperties sometimes fails with "no such core: core0"
Date Thu, 19 May 2011 14:58:47 GMT


Doron Cohen commented on SOLR-2500:

>From Eclipse (XP), passed at 1st attempt, failed at the 2nd!

I am not familiar with this part of the code so it would be too much work to track it all
the way myself, but I think I can now provide sufficient information for solving it.

In Eclipse, after cleaning the project the test passes, and then start failing in all successive
So I assume when you run it isolated you also do clean, which covers Eclipse's clean (and

I tracked the content of the cleaned relevant dir before and after the test - it is (trunk/)bin/solr
- there's only one file that differs between the runs - this is bin/solr/shared/solr.xml.

Not sure if this is a bug in the test not cleaning after itself or a bug in the code that
reads the configuration...

I'll attach here the two file so that you can compare them.

> TestSolrCoreProperties sometimes fails with "no such core: core0"
> -----------------------------------------------------------------
>                 Key: SOLR-2500
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>     [junit] Testsuite: org.apache.solr.client.solrj.embedded.TestSolrProperties
>     [junit] Testcase: testProperties(org.apache.solr.client.solrj.embedded.TestSolrProperties):
Caused an ERROR
>     [junit] No such core: core0
>     [junit] org.apache.solr.common.SolrException: No such core: core0
>     [junit]     at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(
>     [junit]     at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(
>     [junit]     at org.apache.solr.client.solrj.embedded.TestSolrProperties.testProperties(
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(
>     [junit]     at org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(

This message is automatically generated by JIRA.
For more information on JIRA, see:

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

View raw message