You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Ferdy Galema (JIRA)" <ji...@apache.org> on 2012/05/03 17:30:50 UTC
[jira] [Closed] (NUTCH-896) Gora-based tests need to have their own
config files
[ https://issues.apache.org/jira/browse/NUTCH-896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ferdy Galema closed NUTCH-896.
------------------------------
Resolution: Fixed
Fixed with NUTCH-1205.
> Gora-based tests need to have their own config files
> -----------------------------------------------------
>
> Key: NUTCH-896
> URL: https://issues.apache.org/jira/browse/NUTCH-896
> Project: Nutch
> Issue Type: Bug
> Reporter: Julien Nioche
> Assignee: Julien Nioche
> Fix For: nutchgora
>
>
> The tests extending AbstractNutchTest (Injector, Generator, Fetcher) have hard-coded properties for GORA. It would be better to be able to rely on a file gora.properties used only for the tests, just as we do with the nutch-*.xml config files (see CrawlTestUtil). This way we wouldn't use the configs set in the main /conf file as they could be specific to a given GORA backend e.g. Mysql vs hsqldb. This would also help running the tests with a non-default GORA backend.
> We need to modify GORA and make the method DataStoreFactory.setProperties public.
--
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