[Koha-bugs] [Bug 13283] New: t/Overdues.t shouldn't depend on the DB
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Nov 18 09:14:34 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13283
Bug ID: 13283
Summary: t/Overdues.t shouldn't depend on the DB
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Test Suite
Assignee: chris at bigballofwax.co.nz
Reporter: magnus at enger.priv.no
QA Contact: gmcharlt at gmail.com
Blocks: 13275
$ sudo -u kohadev-koha KOHA_CONF=/etc/koha/sites/kohadev/koha-conf.xml prove
t/Overdues.t
t/Overdues.t .. DBI
connect('dbname=koha_kohadev;host=localhost;port=3306','koha_kohadev',...)
failed: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2) at C4/Context.pm line 785
t/Overdues.t .. 1/1
# Failed test 'use C4::Overdues;'
# at t/Overdues.t line 12.
# Tried to use 'C4::Overdues'.
# Error: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2) at C4/Context.pm line 785.
# Compilation failed in require at C4/Reserves.pm line 28.
# BEGIN failed--compilation aborted at C4/Reserves.pm line 28.
# Compilation failed in require at C4/Circulation.pm line 27.
# BEGIN failed--compilation aborted at C4/Circulation.pm line 27.
# Compilation failed in require at C4/Overdues.pm line 28.
# BEGIN failed--compilation aborted at C4/Overdues.pm line 28.
# Compilation failed in require at t/Overdues.t line 12.
# BEGIN failed--compilation aborted at t/Overdues.t line 12.
# Looks like you failed 1 test of 1.
t/Overdues.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests
Test Summary Report
-------------------
t/Overdues.t (Wstat: 256 Tests: 1 Failed: 1)
Failed test: 1
Non-zero exit status: 1
Files=1, Tests=1, 1 wallclock secs ( 0.02 usr 0.00 sys + 0.56 cusr 0.56
csys = 1.14 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list