Skip to content

t/005_site.t fails (with Mojolicious 9.23?) #46

Description

@eserte

The test suite started to fail on my smoker systems:

...
    #   Failed test 'Page  accessed with path /foo.html IS cached'
    #   at t/005_site.t line 90.
...
#   Failed test 'cached_pages'
#   at t/005_site.t line 334.
Use of uninitialized value $_ in transliteration (tr///) at /home/cpansand/.cpan/build/2022032905/Mojolicious-9.23-0/blib/lib/Mojo/Headers.pm line 38.
Use of uninitialized value $_ in concatenation (.) or string at /home/cpansand/.cpan/build/2022032905/Mojolicious-9.23-0/blib/lib/Mojo/Headers.pm line 165.
Use of uninitialized value $_ in transliteration (tr///) at /home/cpansand/.cpan/build/2022032905/Mojolicious-9.23-0/blib/lib/Mojo/Headers.pm line 38.
Use of uninitialized value $_ in concatenation (.) or string at /home/cpansand/.cpan/build/2022032905/Mojolicious-9.23-0/blib/lib/Mojo/Headers.pm line 165.
Wide character in print at /usr/local/lib/perl5/5.32/Test2/Formatter/TAP.pm line 125.
Wide character in print at /usr/local/lib/perl5/5.32/Test2/Formatter/TAP.pm line 125.
Wide character in print at /usr/local/lib/perl5/5.32/Test2/Formatter/TAP.pm line 125.
Wide character in print at /usr/local/lib/perl5/5.32/Test2/Formatter/TAP.pm line 125.
Wide character in print at /usr/local/lib/perl5/5.32/Test2/Formatter/TAP.pm line 125.
Wide character in print at /usr/local/lib/perl5/5.32/Test2/Formatter/TAP.pm line 125.
Wide character in print at /usr/local/lib/perl5/5.32/Test2/Formatter/TAP.pm line 125.
Wide character in print at /usr/local/lib/perl5/5.32/Test2/Formatter/TAP.pm line 125.
Wide character in print at /usr/local/lib/perl5/5.32/Test2/Formatter/TAP.pm line 125.
# Looks like you failed 1 test of 11.
t/005_site.t ............. 
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/11 subtests 
...

Statistical analysis suggests that this happens with Mojolicious 9.23:

****************************************************************
Regression 'mod:Mojolicious'
****************************************************************
Name           	       Theta	      StdErr	 T-stat
[0='const']    	      1.0000	      0.0000	16191677607137250.00
[1='eq_9.21']  	      0.0000	      0.0000	   0.00
[2='eq_9.22']  	      0.0000	      0.0000	   0.00
[3='eq_9.23']  	     -1.0000	      0.0000	-15781695173421530.00

R^2= 1.000, N= 86, K= 4
****************************************************************

Notable change in this release: "Enable gzip compression by default"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions