lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <>
Subject [jira] [Updated] (SOLR-2500) TestSolrCoreProperties sometimes fails with "no such core: core0"
Date Thu, 19 May 2011 18:02:48 GMT


Robert Muir updated SOLR-2500:

    Attachment: SOLR-2500.patch

The attached patch is a workaround for the issue for now, but we should fix the test to be
"cleaner" as I don't like whats going on here.

Whats happening is the test changes its solr.xml configuration file, which is in build/tests/solr/shared/solr.xml.
The next time you run the tests, it wont copy over this file because it has a newer time.

In my opinion the test should really make its own private home so it won't meddle with other
tests or have problems like this (we can fix the test to do this), but this is a simple intermediate
fix if you guys don't mind testing it.

> TestSolrCoreProperties sometimes fails with "no such core: core0"
> -----------------------------------------------------------------
>                 Key: SOLR-2500
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: SOLR-2500.patch, SOLR-2500.patch, solr-after-1st-run.xml, solr-clean.xml
>     [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