[ https://issues.apache.org/jira/browse/SOLR-2500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036300#comment-13036300 ]
Doron Cohen commented on SOLR-2500: ----------------------------------- Oops just noticed I was testing all this time TestSolrProperties and not TestSolrCoreProperties, and, because the error message was the same as in the issue description *"No such core: core0"* I was sure that this is the same test... Now this is confusing... Hmmm.. the original exception reported above is [junit] at org.apache.solr.client.solrj.embedded.TestSolrProperties.testProperties(TestSolrProperties.java:128) So perhaps I was working on the correct bug after all and just the JIRA issue title is inaccurate? Or I need to call it a day... :) Anyhow, TestSolrProperties consistently behaves as I described here, while TestSolrCoreProperties consistently passes (when ran in standalone mode). > TestSolrCoreProperties sometimes fails with "no such core: core0" > ----------------------------------------------------------------- > > Key: SOLR-2500 > URL: https://issues.apache.org/jira/browse/SOLR-2500 > Project: Solr > Issue Type: Bug > Affects Versions: 4.0 > Reporter: Robert Muir > Attachments: 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(EmbeddedSolrServer.java:118) > [junit] at > org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105) > [junit] at > org.apache.solr.client.solrj.embedded.TestSolrProperties.testProperties(TestSolrProperties.java:128) > [junit] at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1260) > [junit] at > org.apache.lucene.util.LuceneTestCase$LuceneTestCaseRunner.runChild(LuceneTestCase.java:1189) -- 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