[Koha-bugs] [Bug 35507] TestBuilder.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 11 13:18:34 CET 2023


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

--- Comment #14 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Marcel de Rooy from comment #8)
> BackgroundJob.t does:
>     $schema->storage->txn_rollback;
>     Koha::Plugins::Methods->delete;
> Thats definitely in the wrong order.

I recall we did it that way because InstallPlugins triggered a commit on the
transaction. So we decided 'plugin tests will be considered destructive' (in
terms of the DB data) and did it this way so there's no test plugin information
on the DB when other tests are run.

Maybe that's no longer needed. But I don't recall any recent changes in the
area.

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


More information about the Koha-bugs mailing list