Bug 39995

Summary: Koha/Biblio.t can fail on slow servers
Product: Koha Reporter: Jonathan Druart <jonathan.druart>
Component: Test SuiteAssignee: Jonathan Druart <jonathan.druart>
Status: RESOLVED FIXED QA Contact: Katrin Fischer <katrin.fischer>
Severity: normal    
Priority: P5 - low CC: david, fridolin.somers
Version: Main   
Hardware: All   
OS: All   
GIT URL: Initiative type: ---
Sponsorship status: --- Comma delimited list of Sponsors:
Crowdfunding goal: 0 Crowdfunding committed: 0
Crowdfunding contact: Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
25.05.00,24.11.10
Circulation function:
Attachments: Bug 39995: Prevent Koha/Biblio.t to fail on slow servers

Description Jonathan Druart 2025-05-26 08:14:09 UTC
16:35:27 koha_1       |     #   Failed test 'timestamp is added to the biblio object'
16:35:27 koha_1       |     #   at t/db_dependent/Koha/Biblio.t line 594.
16:35:27 koha_1       |     #          got: '2025-05-23T14:32:59+00:00'
16:35:27 koha_1       |     #     expected: '2025-05-23T14:33:00+00:00'
16:35:27 koha_1       |     # Looks like you failed 1 test of 34.
16:35:27 koha_1       | 
16:35:27 koha_1       | #   Failed test 'to_api() tests'
16:35:27 koha_1       | #   at t/db_dependent/Koha/Biblio.t line 608.
Comment 1 Jonathan Druart 2025-05-26 08:15:21 UTC
Created attachment 182780 [details] [review]
Bug 39995: Prevent Koha/Biblio.t to fail on slow servers
Comment 2 Katrin Fischer 2025-05-26 12:49:20 UTC
Pushed for 25.05!

Well done everyone, thank you!
Comment 3 Fridolin Somers 2025-10-03 14:06:48 UTC
Pushed to 24.11.x for 24.11.10
Comment 4 Wainui Witika-Park 2026-02-27 00:05:53 UTC
Not backporting to 22.11.x as it wasn't backported to 24.05.x
Comment 5 David Nind 2026-03-05 08:13:54 UTC
Test suite related, no changes to the manual required.