Closed Bug 557457 Opened 16 years ago Closed 16 years ago

All sphinx-related tests should skip if it's unavailable

Categories

(addons.mozilla.org Graveyard :: Code Quality, defect)

defect
Not set
trivial

Tracking

(Not tracked)

VERIFIED WONTFIX

People

(Reporter: wenzel, Unassigned)

Details

I could dig for the recent commit that caused this, but Dave probably knows off the top of his head: ./manage.py test throws: 00:11:29 z.sphinx:ERROR Query has timed out. :/Users/fred/dev/zamboni/apps/search/client.py:232 00:11:29 z.sphinx:ERROR Sphinx threw an unknown exception: :/Users/fred/dev/zamboni/apps/search/client.py:235 All Sphinx-related tests should raise SkipTest if Sphinx is not configured. Curiously, that doesn't actually make the tests fail so I'll mark this low priority.
The test is behaving as it should. We're using Mock to simulate a sphinx client that isn't getting a response from a server - no reason this can't be run. You can disable you're logging messages, or filter for specific ones if you'd like.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
All right makes sense. Thanks
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.