[Koha-bugs] [Bug 36356] FrameworkPlugin.t does not rollback properly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 19 09:20:53 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36356

--- Comment #1 from Jonathan Druart <jonathan.druart at gmail.com> ---
Created attachment 163379
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=163379&action=edit
Bug 36356: Fix rollback from FrameworkPlugin.t

rollback ineffective with AutoCommit enabled at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1651.

I have not investigated more than that. Reaching this was already the
end of a long road... (see comment 0)

Test plan:
0. Do not apply this patch
1. select count(*) from branches
Note the value
2. Run
  prove t/db_dependent/FrameworkPlugin.t
=> There is a warning
3. Repeat 1.
=> There are too many libraries!
4. Apply the patch, retry 1, 2, 3
=> No warning, no library added by the tests

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list