lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2870) Test failure in SolrExampleJettyTest
Date Thu, 03 Nov 2011 10:35:32 GMT

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

Robert Muir commented on SOLR-2870:
-----------------------------------

I don't know totally whats going on here,

but it looks from the logs/errors like some kind of battle between these two things happening
at once:
# the shutdown of the core and closing the underlying Directory
# opening of a new reader against that same Directory after the commit

                
> Test failure in SolrExampleJettyTest
> ------------------------------------
>
>                 Key: SOLR-2870
>                 URL: https://issues.apache.org/jira/browse/SOLR-2870
>             Project: Solr
>          Issue Type: Bug
>         Environment: r1196292 (trunk)
>            Reporter: Sami Siren
>         Attachments: TEST-org.apache.solr.client.solrj.embedded.SolrExampleJettyTest.xml
>
>
> I saw this non reproducible error today once. I also saw similar error with SolrExampleEmbeddedTest.
> {code}
>    <error message="java.lang.AssertionError: directory of test was not closed, opened
from: org.apache.solr.core.MockDirectoryFactory.create(MockDirectoryFactory.java:33)" type="java.lang.RuntimeException">java.lang.RuntimeException:
java.lang.AssertionError: directory of test was not closed, opened from: org.apache.solr.core.MockDirectoryFactory.create(MockDirectoryFactory.java:33)
>         at org.apache.lucene.util.LuceneTestCase.afterClassLuceneTestCaseJ4(LuceneTestCase.java:474)
>         at org.apache.lucene.util.LuceneTestCase.checkResourcesAfterClass(LuceneTestCase.java:532)
>         at org.apache.lucene.util.LuceneTestCase.afterClassLuceneTestCaseJ4(LuceneTestCase.java:442)
> </error>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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