Subject: | t/04uploadprogress.t fails if Catalyst::Plugin::Cache::FastMmap is installed |
See subject. Test log looks like this:
...
Use of uninitialized value $got in numeric gt (>) at (eval in cmp_ok) t/04uploadprogress.t line 54.
# Failed test 'JSON size ok'
# at t/04uploadprogress.t line 54.
Use of uninitialized value $val in addition (+) at /usr/perl5.22.2t/lib/site_perl/5.22.2/Test/Builder.pm line 725.
# undef
# >
# '16384'
Use of uninitialized value $got in numeric gt (>) at (eval in cmp_ok) t/04uploadprogress.t line 91.
# Failed test 'JSON size ok'
# at t/04uploadprogress.t line 91.
Use of uninitialized value $val in addition (+) at /usr/perl5.22.2t/lib/site_perl/5.22.2/Test/Builder.pm line 725.
# undef
# >
# '49152'
# Looks like you failed 2 tests of 12.
t/04uploadprogress.t ..
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/12 subtests
...
Anyway, it seems that Catalyst::Plugin::Cache::FastMmap is deprecated, so maybe the code should be written with another cache plugin?