Bug 40946 - "Aborted connection 42 to db" from Koha/Z3950Responder/ZebraSession.t
Summary: "Aborted connection 42 to db" from Koha/Z3950Responder/ZebraSession.t
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low normal
Assignee: Jonathan Druart
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks: 40945
  Show dependency treegraph
 
Reported: 2025-10-03 12:13 UTC by Jonathan Druart
Modified: 2025-10-03 12:35 UTC (History)
0 users

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 40946: Remove warning "Aborted connection" from Koha/Z3950Responder/ZebraSession.t (1.24 KB, patch)
2025-10-03 12:35 UTC, Jonathan Druart
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2025-10-03 12:13:20 UTC

    
Comment 1 Jonathan Druart 2025-10-03 12:35:06 UTC
Created attachment 187383 [details] [review]
Bug 40946: Remove warning "Aborted connection" from Koha/Z3950Responder/ZebraSession.t

start_server from Net::Z3950::SimpleServer is going to fork and the DB
server is aborting the connection

db-1         | 2025-10-03 12:02:12 272 [Warning] Aborted connection 272 to db: 'koha_kohadev' user: 'koha_kohadev' host: '172.19.0.6' (Got an error reading communication packets)

Test plan:
  prove t/db_dependent/Koha/Z3950Responder/ZebraSession.t
=> Without this patch you will see a warning in the db container log
=> With this patch apply the warning no longer appears