[Koha-bugs] [Bug 12472] Unit Tests failing with "MySQL server has gone away"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 24 14:39:34 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12472

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 29190
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29190&action=edit
Bug 12472 - Unit Tests failing with "MySQL server has gone away"

This bug is related to bug 11891 which was recently pushed to master.
The issue is that the followup "Bug 11891: (follow-up) remove custom
storage class" ( commit id 967f5cb51321a6a08176c7718a6ab933b3b5f926 )
removes the custom storage class that stopped DBIx::Class from
destroying the dbh handle when it was done using it.

Test Plan:
1) Run 'perl t/db_dependent/Circulation.t'
2) Note the error
   DBD::mysql::st execute failed: MySQL server has gone away at
   /home/koha/kohaclone/C4/Members.pm line 881.
3) Apply this patch
4) Re-run 'perl t/db_dependent/Circulation.t'
5) No errors!

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


More information about the Koha-bugs mailing list