Test 'test_title_search_groups_enabled' fails with Haystack search on

asked 2013-09-28 20:09:31 -0500

apg gravatar image

Could someone take a look at this? 'test_title_search_groups_enabled' fails with the following output.

======================================================================

FAIL: test_title_search_groups_enabled (askbot.tests.page_load_tests.PageLoadTestCase)

Traceback (most recent call last): File "/media/sf_Ubuntu/4hou4ken/askbot/askbot/tests/utils.py", line 26, in wrapped return func(args, *kwargs) File "/media/sf_Ubuntu/4hou4ken/askbot/askbot/tests/page_load_tests.py", line 185, in test_title_search_groups_enabled self.assertEqual(len(response_data), 0) AssertionError: 1 != 0


Ran 1 test in 411.721s

Without Haystack search turned on, 'test_title_search_groups_enabled' passed. This is the only error I am getting in the whole test suite of 600+ tests. So, I am positive that this problem is specific to the situation where Haystack and the group feature are combined.

Because it takes so much time (411.721s), it is tough to correct this with simple trial and error. If someone could provide insights, that will be appreciated. Thank you.

edit retag flag offensive close merge delete