dionys / mojox-transaction-websocket76

MojoX::Transaction::WebSocket76 — container for WebSocket transactions as described in hixie-76 draft
Other
0 stars 1 forks source link

Tests fail with Mojolicious 6.40 and later #3

Open eserte opened 8 years ago

eserte commented 8 years ago

I see the following failure:

PERL_DL_NONLAZY=1 "/usr/perl5.20.1Dp/bin/perl5.20.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t

#   Failed test 'use MojoX::Transaction::WebSocket76;'
#   at t/00-use.t line 10.
#     Tried to use 'MojoX::Transaction::WebSocket76'.
#     Error:  Undefined subroutine &Mojo::Transaction::WebSocket::DEBUG called at /home/cpansand/.cpan/build/2016022906/MojoX-Transaction-WebSocket76-0.04-uojenb/blib/lib/MojoX/Transaction/WebSocket76.pm line 11, <DATA> line 2125.
# BEGIN failed--compilation aborted at /home/cpansand/.cpan/build/2016022906/MojoX-Transaction-WebSocket76-0.04-uojenb/blib/lib/MojoX/Transaction/WebSocket76.pm line 11, <DATA> line 2125.
# Compilation failed in require at t/00-use.t line 10, <DATA> line 2125.
# BEGIN failed--compilation aborted at t/00-use.t line 10, <DATA> line 2125.
Bailout called.  Further testing stopped:  
Use of uninitialized value $MojoX::Transaction::WebSocket76::VERSION in concatenation (.) or string at t/00-use.t line 13, <DATA> line 2125.
# Testing MojoX::Transaction::WebSocket76 , Perl 5.020001, /usr/perl5.20.1Dp/bin/perl5.20.1
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
*** Error code 1

Statistical analysis suggests that this is caused by recent Mojolicious versions (negative theta is bad):

****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name                   Theta          StdErr     T-stat
[0='const']           1.0000          0.0000    6479184620265912.00
[1='eq_4.99']        -0.0000          0.0000      -2.06
[2='eq_5.32']        -0.0000          0.0000      -0.42
[3='eq_5.33']        -0.0000          0.0000      -0.42
[4='eq_5.39']        -0.0000          0.0000      -0.42
[5='eq_5.41']         0.0000          0.0000       0.00
[6='eq_5.69']        -0.0000          0.0000      -2.70
[7='eq_5.70']        -0.0000          0.0000      -1.87
[8='eq_5.71']        -0.0000          0.0000      -1.35
[9='eq_5.77']        -0.0000          0.0000      -0.83
[10='eq_6.02']        0.0000          0.0000       0.83
[11='eq_6.09']       -0.0000          0.0000      -0.83
[12='eq_6.11']       -0.0000          0.0000      -0.51
[13='eq_6.28']       -0.0000          0.0000      -1.66
[14='eq_6.40']       -1.0000          0.0000    -3740758984639812.00
[15='eq_6.43']       -1.0000          0.0000    -4581475381549614.00
[16='eq_6.46']       -1.0000          0.0000    -5290232089646627.00
[17='eq_6.47']       -1.0000          0.0000    -4581475381549614.00
[18='eq_6.48']       -1.0000          0.0000    -5290232089646629.00
[19='eq_6.49']       -1.0000          0.0000    -3740758984639810.00
[20='eq_6.50']       -1.0000          0.0000    -6251773542223812.00

R^2= 1.000, N= 74, K= 21
****************************************************************
KES777 commented 8 years ago

me too ((