Summary: | Unit Tests failing with "MySQL server has gone away" | ||
---|---|---|---|
Product: | Koha | Reporter: | Kyle M Hall (khall) <kyle> |
Component: | Architecture, internals, and plumbing | Assignee: | Kyle M Hall (khall) <kyle> |
Status: | CLOSED INVALID | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | jonathan.druart |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
See Also: | http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13610 | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: | |||
Attachments: | Bug 12472 - Unit Tests failing with "MySQL server has gone away" |
Description
Kyle M Hall (khall)
2014-06-24 12:38:49 UTC
Created attachment 29190 [details] [review] 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! I don't reproduce the error. I believe the requirement for a newer version of dbic has made this patch obsolete. |