Subject: | t/15ss_cache.t fails and sometimes hangs on Linux |
perl 5.16.2 with ithreads
c@deb1:~/.cpan/build/Test-WWW-Simple-0.34-GsMR2v$ perl -Mblib t/15ss_cache.t
1..1
# Waiting for test webserver to spin up
# starting Mojolicious server
Server available at http://127.0.0.1:3000.
[Fri Jun 21 23:51:14 2013] [error] Can't locate object method "render_text" via package "Mojolicious::Controller" at t/15ss_cache.t line 15.
# Failed test 'Fetch of http://localhost:3000/ failed: 500 Internal Server Error'
# at blib/lib/Test/WWW/Simple.pm line 99.
[Fri Jun 21 23:51:14 2013] [error] Can't locate object method "render_text" via package "Mojolicious::Controller" at t/15ss_cache.t line 15.
# Failed test 'Fetch of http://localhost:3000/ failed: 500 Internal Server Error'
# at blib/lib/Test/WWW/Simple.pm line 99.
# Failed test 'cached from last get [http://localhost:3000/] [/bbbbb/ should match]'
# at blib/lib/Test/WWW/Simple.pm line 99.
# got: "<!DOCTYPE html>\x{0a}<html>\x{0a} <head>\x{0a} <title>Server "...
# length: 20909
# doesn't match '(?^:bbbbb)'
# Failed test 'still cached [http://localhost:3000/] [/bbbbb/ should match]'
# at blib/lib/Test/WWW/Simple.pm line 99.
# got: "<!DOCTYPE html>\x{0a}<html>\x{0a} <head>\x{0a} <title>Server "...
# length: 20909
# doesn't match '(?^:bbbbb)'
[Fri Jun 21 23:51:15 2013] [error] Can't locate object method "render_text" via package "Mojolicious::Controller" at t/15ss_cache.t line 15.
# Failed test 'Fetch of http://localhost:3000/ failed: 500 Internal Server Error'
# at blib/lib/Test/WWW/Simple.pm line 99.
# Failed test 'return to last cached value [http://localhost:3000/] [/ccccc/ should match]'
# at blib/lib/Test/WWW/Simple.pm line 99.
# got: "<!DOCTYPE html>\x{0a}<html>\x{0a} <head>\x{0a} <title>Server "...
# length: 21058
# doesn't match '(?^:ccccc)'
[Fri Jun 21 23:51:16 2013] [error] Can't locate object method "render_text" via package "Mojolicious::Controller" at t/15ss_cache.t line 15.
# Failed test 'Fetch of http://localhost:3000/ failed: 500 Internal Server Error'
# at blib/lib/Test/WWW/Simple.pm line 99.
# Looks like you failed 7 tests of 9.
not ok 1 - working output as expected
# Failed test 'working output as expected'
# at t/15ss_cache.t line 41.
# Structures begin differing at:
# $got->[1] = 'not ok 1 - Fetch of http://localhost:3000/ failed: 500 Internal Server Error
# '
# $expected->[1] = 'ok 1 - initial value OK [http://localhost:3000/] [/aaaaa/ should match]
# '
# Shutting down test webserver
[Fri Jun 21 23:51:16 2013] [error] Can't locate object method "render_text" via package "Mojolicious::Controller" at t/15ss_cache.t line 17.
# Looks like you failed 1 test of 1.
--
Alexandr Ciornii, http://chorny.net