Skip to content

Tests fail (with newer Mojolicious versions?) #15

@eserte

Description

@eserte

Most of my smokers report the following failure:

Mojo::Reactor::EV: I/O watcher failed: Can't locate object method "is_status_class" via package "Mojo::Message::Response" at /usr/perl5.16.3t/lib/site_perl/5.16.3/MojoX/JSON/RPC/Client.pm line 111.

    #   Failed test 'message received'
    #   at t/10-before_forward.t line 30.
    # Looks like you failed 1 test of 3.

#   Failed test 'w/o before-forward'
#   at t/10-before_forward.t line 34.
Can't use an undefined value as an ARRAY reference at t/10-before_forward.t line 31.
# Tests were run but no plan was declared and done_testing() was not seen.
# Looks like your test exited with 255 just after 1.
...(etc.)...

This seems to happen for Mojolicious 7.31 and newer:

****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name           	       Theta	      StdErr	 T-stat
[0='const']    	      1.0000	      0.0000	27320188019381960.00
[1='eq_7.05']  	     -0.0000	      0.0000	  -1.75
[2='eq_7.30']  	     -0.0000	      0.0000	  -4.95
[3='eq_7.31']  	     -1.0000	      0.0000	-25130917837409580.00
[4='eq_7.32']  	     -1.0000	      0.0000	-24939805422496476.00

R^2= 1.000, N= 28, K= 5
****************************************************************

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions