lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Rowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2500) TestSolrCoreProperties sometimes fails with "no such core: core0"
Date Thu, 19 May 2011 21:01:47 GMT

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

Steven Rowe commented on SOLR-2500:
-----------------------------------

I ran the TestSolrProperties test case alone, without the patch, from both Maven and IntelliJ,
and I get the same behavior: it passes once, then fails on every successive attempt, unless
"clean" is performed first.

With the patch applied, the test passes under both IntelliJ and Maven, regardless of whether
"clean" is performed first.

> 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-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(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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message