[Koha-bugs] [Bug 9434] Static variables used for caches are not Plack-friendly
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 6 19:01:52 CET 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9434
Elliott Davis <elliott at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
CC| |elliott at bywatersolutions.co
| |m
--- Comment #4 from Elliott Davis <elliott at bywatersolutions.com> ---
I am getting a failed test with the unit test provided.
elliott at ByWater-Test:~/kohaclone$ prove ./t/Cache.t
./t/Cache.t .. 1/29 Use of uninitialized value $ip in hash element at
/usr/share/perl5/Cache/Memcached.pm line 253.
Use of uninitialized value in subroutine entry at
/usr/share/perl5/Cache/Memcached.pm line 288.
# Failed test 'use C4::Context;'
# at ./t/Cache.t line 15.
# Tried to use 'C4::Context'.
# Error: Bad arg length for Socket::pack_sockaddr_in, length is 0, should
be 4 at /usr/lib/perl/5.10/Socket.pm line 214.
# BEGIN failed--compilation aborted at /home/elliott/kohaclone/C4/Context.pm
line 99.
# Compilation failed in require at (eval 14) line 2.
# BEGIN failed--compilation aborted at (eval 14) line 2.
./t/Cache.t .. 5/29
# Failed test 'fetching valid item from cache'
# at ./t/Cache.t line 39.
# got: undef
# expected: 'I AM MORE DATA'
# Failed test 'fetching valid item from cache (after clearing another item)'
# at ./t/Cache.t line 49.
# got: undef
# expected: 'I AM MORE DATA22'
# Failed test 'Data retrieved from cache'
# at ./t/Cache.t line 76.
# got: '2'
# expected: '1'
./t/Cache.t .. 14/29
# Failed test 'Constructor called again when timeout reached'
# at ./t/Cache.t line 78.
# got: '3'
# expected: '2'
# Failed test 'Stored new value to cache'
# at ./t/Cache.t line 80.
# got: '4'
# expected: '5'
# Failed test 'Constructor not called after storing value'
# at ./t/Cache.t line 81.
# got: '4'
# expected: '2'
# Failed test 'Setting hash member worked'
# at ./t/Cache.t line 104.
# got: undef
# expected: 'surprise'
./t/Cache.t .. 25/29 # Looks like you failed 8 tests of 29.
./t/Cache.t .. Dubious, test returned 8 (wstat 2048, 0x800)
Failed 8/29 subtests
Test Summary Report
-------------------
./t/Cache.t (Wstat: 2048 Tests: 29 Failed: 8)
Failed tests: 3, 6, 8, 13-16, 21
Non-zero exit status: 8
Files=1, Tests=29, 8 wallclock secs ( 0.04 usr 0.01 sys + 0.14 cusr 0.03
csys = 0.22 CPU)
Result: FAIL
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list