You are viewing a plain text version of this content. The canonical link for it is here.
Posted to zeta-issues@incubator.apache.org by "David Rekowski (Created) (JIRA)" <ji...@apache.org> on 2011/11/14 10:32:58 UTC
[jira] [Created] (ZETACOMP-101) connecting in
ezcSearchSolrHandler::__construct makes it hard to test
connecting in ezcSearchSolrHandler::__construct makes it hard to test
---------------------------------------------------------------------
Key: ZETACOMP-101
URL: https://issues.apache.org/jira/browse/ZETACOMP-101
Project: Zeta Components
Issue Type: Wish
Components: Search
Reporter: David Rekowski
The constructor of ezcSearchSolrHandler calls connect() which tries to open a tcp connection to the specified solr server and port.
This is very inconvenient in terms of unit testing the creation of an ezcSearchSolrHandler instance in our application.
--
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