Subject: | Test failures (with JSON::XS 4.0?) |
The test suite started to fail:
...
Output from './Build test':
Couldn't find a working decoder method (but found handler JSON::XS 4.0). at /home/cpansand/.cpan/build/2018111923/POE-Component-Server-Bayeux-0.04-0/blib/lib/POE/Component/Server/Bayeux/Request.pm line 18.
BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018111923/POE-Component-Server-Bayeux-0.04-0/blib/lib/POE/Component/Server/Bayeux/Request.pm line 18.
Compilation failed in require at (eval 64) line 1.
BEGIN failed--compilation aborted at (eval 64) line 1.
# Failed test 'use POE::Component::Server::Bayeux;'
# at t/acls.t line 10.
# Tried to use 'POE::Component::Server::Bayeux'.
# Error: could not import qw(Component::Server::Bayeux::Request) at /home/cpansand/.cpan/build/2018111923/POE-Component-Server-Bayeux-0.04-0/blib/lib/POE/Component/Server/Bayeux.pm line 80.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2018111923/POE-Component-Server-Bayeux-0.04-0/blib/lib/POE/Component/Server/Bayeux.pm line 84.
# Compilation failed in require at t/acls.t line 10.
# BEGIN failed--compilation aborted at t/acls.t line 10.
Can't locate object method "spawn" via package "POE::Component::Server::Bayeux" at t/acls.t line 27.
# Looks like your test exited with 255 just after 2.
...
It seems this happens if JSON::XS 4.0 is installed. Statistical analysis (theta = -1 means "bad"):
****************************************************************
Regression 'mod:JSON::XS'
****************************************************************
Name Theta StdErr T-stat
[0='const'] 1.0000 0.0000 110504992255815168.00
[1='eq_3.02'] -0.0000 0.0000 -1.18
[2='eq_3.03'] 0.0000 0.0000 0.00
[3='eq_3.04'] 0.0000 0.0000 0.00
[4='eq_4.0'] -1.0000 0.0000 -69889493669528800.00
R^2= 1.000, N= 61, K= 5
****************************************************************