lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-2900) TestCoreContainer and CoreAdminHandlerTest try to use solr/core/src/test-files/solr/data if it exists
Date Tue, 15 Nov 2011 21:39:52 GMT
TestCoreContainer and CoreAdminHandlerTest try to use solr/core/src/test-files/solr/data if
it exists
-----------------------------------------------------------------------------------------------------

                 Key: SOLR-2900
                 URL: https://issues.apache.org/jira/browse/SOLR-2900
             Project: Solr
          Issue Type: Bug
            Reporter: Hoss Man


When the index format has changed on trunk, it has been neccessary to blow away the directory
"solr/core/src/test-files/solr/data" because it contains indexes which will be in a format
the trunk doesn't understand.  not blowing away this directory will cause TestCoreContainer
and CoreAdminHandlerTest to fail.  However after deleting this directory, and running those
two tests, the directory will not be recreated -- but if you run *all* tests, then the directory
is recreated. This seems to suggest:

 * Some (unknown) test is creating this directory and the index in it
 * The two test classes mentioned are using this directory if it exists, but do not require
it to function -- meaning there is non-deterministic logic in where/how they get their index
from.

--
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