DBI connect('dbname=koha;host=localhost;port=3306','kohaadmin',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /tmp/buildd/koha-3.19~git+20150112121205.483ad2ae/blib/PERL_MODULE_DIR/C4/Context.pm line 785 Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at /tmp/buildd/koha-3.19~git+20150112121205.483ad2ae/blib/PERL_MODULE_DIR/C4/Context.pm line 785. Compilation failed in require at /tmp/buildd/koha-3.19~git+20150112121205.483ad2ae/blib/PERL_MODULE_DIR/C4/Letters.pm line 27. BEGIN failed--compilation aborted at /tmp/buildd/koha-3.19~git+20150112121205.483ad2ae/blib/PERL_MODULE_DIR/C4/Letters.pm line 27. Compilation failed in require at /tmp/buildd/koha-3.19~git+20150112121205.483ad2ae/blib/PERL_MODULE_DIR/C4/Suggestions.pm line 30. BEGIN failed--compilation aborted at /tmp/buildd/koha-3.19~git+20150112121205.483ad2ae/blib/PERL_MODULE_DIR/C4/Suggestions.pm line 30. Compilation failed in require at /tmp/buildd/koha-3.19~git+20150112121205.483ad2ae/blib/PERL_MODULE_DIR/C4/Acquisition.pm line 27. BEGIN failed--compilation aborted at /tmp/buildd/koha-3.19~git+20150112121205.483ad2ae/blib/PERL_MODULE_DIR/C4/Acquisition.pm line 27. Compilation failed in require at t/Prices.t line 5. BEGIN failed--compilation aborted at t/Prices.t line 5. # Looks like your test exited with 255 before it could output anything. t/Prices.t ..........................
Created attachment 35099 [details] [review] Bug 13554: t/Prices.t shouldn't depend on the DB To reproduce: - Stop your MySQL server: $ sudo service mysql stop - Run $ prove t/Prices.t => FAIL: some tests fail because of mysql stopped To test (MySQL still stopped) - Apply the patch - Run $ prove t/Prices.t
Created attachment 35105 [details] [review] Bug 13554: t/Prices.t shouldn't depend on the DB I've applied this patch against master 3.19.00.005 head 12868. NB. the 13275 patch is an omnibus one. Everything's OK. I pass the patch to "Signed Off" status.
Created attachment 35334 [details] [review] [PASSED QA] Bug 13554: t/Prices.t shouldn't depend on the DB To reproduce: - Stop your MySQL server: $ sudo service mysql stop - Run $ prove t/Prices.t => FAIL: some tests fail because of mysql stopped To test (MySQL still stopped) - Apply the patch - Run $ prove t/Prices.t Signed-off-by: Paola Rossi <paola.rossi@cineca.it> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Patch pushed to master. Thanks JOnathan!