[Koha-bugs] [Bug 36356] New: FrameworkPlugin.t does not rollback properly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 19 09:16:37 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36356
Bug ID: 36356
Summary: FrameworkPlugin.t does not rollback properly
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: ASSIGNED
Severity: major
Priority: P5 - low
Component: Test Suite
Assignee: jonathan.druart at gmail.com
Reporter: jonathan.druart at gmail.com
QA Contact: testopia at bugs.koha-community.org
Blocks: 25515
Long story short: If too many libraries exist in the DB we have some tests
failing:
Bug 36277 because of 2 nested loops on the library list
Bug 36355 because we are fetching the library list from the REST API
This is because FrameworkPlugin.t is not rolling back properly, and the output
of the tests is telling it:
% prove t/db_dependent/FrameworkPlugin.t
t/db_dependent/FrameworkPlugin.t .. 5/6 rollback ineffective with AutoCommit
enabled at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1651.
t/db_dependent/FrameworkPlugin.t .. ok
All tests successful.
Files=1, Tests=6, 14 wallclock secs ( 0.03 usr 0.01 sys + 11.17 cusr 2.63
csys = 13.84 CPU) Result: PASS
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25515
[Bug 25515] [OMNIBUS] Remove warnings and errors from tests output
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list