Bugzilla – Attachment 49684 Details for
Bug 14158
t/db_dependent/www/search_utf8.t hangs if error is returned
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14158: www search tests - Cleanup at the end
Bug-14158-www-search-tests---Cleanup-at-the-end.patch (text/plain), 1.19 KB, created by
Tomás Cohen Arazi
on 2016-03-30 13:26:33 UTC
(
hide
)
Description:
Bug 14158: www search tests - Cleanup at the end
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi
Created:
2016-03-30 13:26:33 UTC
Size:
1.19 KB
patch
obsolete
>From c54a4ed32a49004aa47dc9d9600b0b68fab5c734 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 30 Mar 2016 10:55:02 +0100 >Subject: [PATCH] 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@unc.edu.ar> >--- > t/db_dependent/www/search_utf8.t | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/t/db_dependent/www/search_utf8.t b/t/db_dependent/www/search_utf8.t >index 9eb66b9..8dd3873 100644 >--- a/t/db_dependent/www/search_utf8.t >+++ b/t/db_dependent/www/search_utf8.t >@@ -337,4 +337,9 @@ sub GetBiblionumberFromImport{ > > return $biblionumber; > } >+ >+END { >+ cleanup(); >+}; >+ > 1; >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14158
:
49676
| 49684