Uploaded image for project: 'Zeta Components'
  1. Zeta Components
  2. ZETACOMP-101

connecting in ezcSearchSolrHandler::__construct makes it hard to test

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Wish
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Search

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            rekowski David Rekowski

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment