Bug 38501 - Prevent failures of Koha/Booking.t when running tests on an updated database
Summary: Prevent failures of Koha/Booking.t when running tests on an updated database
Status: RESOLVED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: Test Suite (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Paul Derscheid
QA Contact: Katrin Fischer
URL:
Keywords:
Depends on: 29002 37204 37803 26915
Blocks: 38490
  Show dependency treegraph
 
Reported: 2024-11-21 09:46 UTC by Paul Derscheid
Modified: 2024-12-05 23:26 UTC (History)
1 user (show)

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


Attachments
Bug 38501: Prevent failures of Koha/Booking.t when run on MySQL8 (4.31 KB, patch)
2024-11-21 10:02 UTC, Paul Derscheid
Details | Diff | Splinter Review
Bug 38501: Prevent failures of Koha/Booking.t when running the Koha_Main_My8 job (5.12 KB, patch)
2024-11-21 11:03 UTC, Paul Derscheid
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Derscheid 2024-11-21 09:46:05 UTC
If I understand correctly:
The MySQL8 test run runs the installer, and then upgrades, then runs the test suite.

Since we are not inserting the notices at upgrade time, Koha/Booking.t fails.

This patch provides a bandaid solution until Bug 38490 has been resolved.
Comment 1 Paul Derscheid 2024-11-21 10:02:41 UTC
Created attachment 174869 [details] [review]
Bug 38501: Prevent failures of Koha/Booking.t when run on MySQL8
Comment 2 Paul Derscheid 2024-11-21 11:03:40 UTC
Created attachment 174870 [details] [review]
Bug 38501: Prevent failures of Koha/Booking.t when running the Koha_Main_My8 job
Comment 3 Katrin Fischer 2024-11-21 12:50:23 UTC
Pushed for 24.11!

Well done everyone, thank you!
Comment 4 Lucas Gass (lukeg) 2024-12-05 23:26:17 UTC
Missing dependencies for 24.05.x, no backport.