[Koha-bugs] [Bug 14158] t/db_dependent/www/search_utf8.t hangs if error is returned

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 30 15:26:33 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14158

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #49676|0                           |1
        is obsolete|                            |

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 49684
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49684&action=edit
Bug 14158: www search tests - Cleanup at the end

When something wrong happen, the parent process is waiting for the
children to finish, but they have been zombified and the test hangs.

To fix that, we should ensure that the cleanup is correctly done and
that the processes are correctly killed.

Test plan:
export KOHA_USER=koha
export KOHA_PASS=koha
export KOHA_INTRANET_URL=http://do_not_exist_but_its_expected
export KOHA_OPAC_URL=http://another_url
prove t/db_dependent/www/search_utf8.t

Without this patch, the tests will hang
With the patch applied, they won't!

Signed-off-by: Tomas Cohen Arazi <tomascohen at unc.edu.ar>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list