The solr_base_query does not enable the search and apachesolr module but instead it tries to load a file directly.
Locally this is not a problem but when running the tests with a testbot (as in #1358074: Failing test on testbot succeeds on local environment ) this is causing problems

CommentFileSizeAuthor
#6 1359294-6.patch1.4 KBnick_vh
#4 1359294-4.patch2.9 KBnick_vh
#1 1359294-1.patch2.21 KBnick_vh

Comments

nick_vh’s picture

StatusFileSize
new2.21 KB

The spaces in the EOF are to increase readability and code syntax recognition in IDE's such as netbeans.

nick_vh’s picture

Status: Active » Needs review
nick_vh’s picture

Seems like the problem is the unit testing when the module is disabled. The drupal.org testbot runs the unit tests without enabling any module.

nick_vh’s picture

StatusFileSize
new2.9 KB

This patch converts one test to a webTestCase in order to work with objects and functions even if the module is not enabled.

nick_vh’s picture

Status: Needs review » Fixed

Committed

nick_vh’s picture

StatusFileSize
new1.4 KB

As a follow up, after some discussion we actually do not want to have an error when solr is not available, in order to let drupal.org show a nice little green bar.
However, a message telling the user that solr was not available is recommended

nick_vh’s picture

Added the follow-up

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

Updated issue summary.