Koha-clms/t/lib
Jonathan Druart 03057a125f
Bug 40947: Remove warning "Aborted connection" from t/db_dependent/www/search_utf8.t
We sent a SIGKILL to the daemon which does not let it cleanup

Updating to SIGTERM (15) and handle the dbh disconnect gracefully in the
daemon.

Also handle SIGINT (ctrl+c) only because I think it can be useful (?)

Test plan:
  prove t/db_dependent/www/search_utf8.t

=> Without this patch there are 3 warnings in the DB container log
db-1         | 2025-10-03 12:30:57 362 [Warning] Aborted connection 42 to db: 'koha_kohadev' user: 'koha_kohadev' host: '172.19.0.6' (Got an error reading communication packets)
=> With this patch applied there are none.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit ebfbd0da26)
Signed-off-by: Jacob O'Mara <Jacob.omara@openfifth.co.uk>
2026-03-16 13:23:09 +00:00
..
IdP Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Koha/BackgroundJob Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Mocks Bug 40947: Remove warning "Aborted connection" from t/db_dependent/www/search_utf8.t 2026-03-16 13:23:09 +00:00
QA Bug 41076: [25.11.x] Adjust perl tidiness for v20250105 2026-03-16 13:23:08 +00:00
bad_plugins/Koha/Plugin Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
plugins/Koha/Plugin Bug 40983: Complete deprecation of old after_biblio_action hook signature 2025-10-14 14:51:53 -06:00
Bootstrap.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Dates.pm Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
Mocks.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
Selenium.pm Bug 40163: Fix several http addresses in the code docs 2025-09-23 16:21:29 -06:00
TestBuilder.pm Bug 40680: Fix TestBuilder 2025-12-01 08:33:59 -07:00