Bug 40946

Summary: "Aborted connection 42 to db" from Koha/Z3950Responder/ZebraSession.t
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Test SuiteAssignee: Jonathan Druart <jonathan.druart>
Status: Needs Signoff --- QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low    
Version: unspecified   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 40945    
Attachments: Bug 40946: Remove warning "Aborted connection" from Koha/Z3950Responder/ZebraSession.t

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