Subject: | Test failures |
The current CPAN version (0.08) of CHI-Driver-Memcached won't install
with the current version (0.30) of CHI, reporting that:
"dps" is not exported by the CHI::Util module
This has been fixed in the most recent version from github (last changed
2009-06-04), but the problem now is:
Can't locate object method "all_test_keys" via package "CHI::t::Driver"
I've made changes to both CHI and CHI-Driver-Memcached to get around
this problem (see http://github.com/cebjyre/perl-chi and
http://github.com/cebjyre/perl-chi-driver-memcached - the all_test_keys
branches), but there is still one test failure that I haven't been able
to fix:
t/CHI-driver-tests.t .. 860/? # 12 is not between 8 and 10
# Failed test 'Memcached::Test::Driver keys = 12'
# at /Library/Perl/5.8.8/CHI/t/Driver.pm line 1331.
# (in
CHI::Driver::Memcached::t::CHIDriverTests->test_size_awareness_with_subcaches)
This is the last $is_size_aware->($cache) test in the
test_size_awareness_with_subcaches sub (cache having max size, l1_cache not)