[Bug 13284] New: t/RotatingCollections.t shouldn't depend on the DB
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13284 Bug ID: 13284 Summary: t/RotatingCollections.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@bigballofwax.co.nz Reporter: magnus@enger.priv.no QA Contact: gmcharlt@gmail.com Blocks: 13275 With MySQL turned off: $ sudo -u kohadev-koha KOHA_CONF=/etc/koha/sites/kohadev/koha-conf.xml prove t/RotatingCollections.t t/RotatingCollections.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/RotatingCollections.t .. 1/1 # Failed test 'use C4::RotatingCollections;' # at t/RotatingCollections.t line 12. # Tried to use 'C4::RotatingCollections'. # 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/RotatingCollections.pm line 28. # BEGIN failed--compilation aborted at C4/RotatingCollections.pm line 28. # Compilation failed in require at t/RotatingCollections.t line 12. # BEGIN failed--compilation aborted at t/RotatingCollections.t line 12. # Looks like you failed 1 test of 1. t/RotatingCollections.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests Test Summary Report ------------------- t/RotatingCollections.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.52 cusr 0.38 csys = 0.92 CPU) Result: FAIL -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13284 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13284 --- Comment #1 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 33711 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33711&action=edit Bug 13284: t/RotatingCollections.t shouldn't depend on the DB -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13284 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13284 Robin Sheat <robin@catalyst.net.nz> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #33711|0 |1 is obsolete| | --- Comment #2 from Robin Sheat <robin@catalyst.net.nz> --- Created attachment 33716 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33716&action=edit Bug 13284: t/RotatingCollections.t shouldn't depend on the DB Signed-off-by: Robin Sheat <robin@catalyst.net.nz> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13284 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13284 Jonathan Druart <jonathan.druart@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #33716|0 |1 is obsolete| | --- Comment #3 from Jonathan Druart <jonathan.druart@biblibre.com> --- Created attachment 33738 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=33738&action=edit Bug 13284: t/RotatingCollections.t shouldn't depend on the DB Signed-off-by: Robin Sheat <robin@catalyst.net.nz> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> -- You are receiving this mail because: You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13284 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to Master CC| |tomascohen@gmail.com --- Comment #4 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Patch pushed to master. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org