Skip Menu |

This queue is for tickets about the Catalyst-View-Reproxy CPAN distribution.

Report information
The Basics
Id: 34920
Status: new
Priority: 0/
Queue: Catalyst-View-Reproxy

People
Owner: Nobody in particular
Requestors: imacat [...] mail.imacat.idv.tw
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.05
Fixed in: (no value)



Subject: Hang at t/01-http-server-static.t When "make test"
Dear Toru Yamaguchi, Hi. This is imacat from Taiwan. I found that your Catalyst-View-Reproxy-0.05 hangs forever at t/01-http-server-static.t during "make test". I tried to investigate further. It seems to leave a child HTTP server in the background, which does not know to exit, that cause "make test" to wait forever. I looked into t/01-http-server-static.t. At the end of the parent process it "kill HUP => $pid" to the child HTTP server. Shall you use the TERM signal instead of HUP? I remember HUP means "restart" to HTTP::Server::Simple, which will not stop it. Maybe I am wrong, but I suppose you should take some time to look into this issue. In fact, most of your files in t/*.t seems to have this problem. The terminal log is attached below. Hope that this helps. Please tell me if you need any more information, or if I could be of any help. Thank you. imacat@rinse tmp/Catalyst-View-Reproxy-0.05 % perl -v This is perl, v5.10.0 built for x86_64-linux-thread-multi-ld Copyright 1987-2007, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. imacat@rinse tmp/Catalyst-View-Reproxy-0.05 % make test t/00-load..................ok t/01-http-server-static....ok 3/5make: *** [test_dynamic] Interrupt imacat@rinse tmp/Catalyst-View-Reproxy-0.05 % perl -T -Iblib/lib -Iblib/archo t/01-http-server-static.t 1..5 ok 1 - create http server instance HTTP::Server::Simple: You can connect to your server at http://localhost:3500/ ok 2 - create child process ok 3 - Get DUMMY data ok 4 - Get DUMMY1 data ok 5 - Get DUMMY2 data imacat@rinse tmp/Catalyst-View-Reproxy-0.05 % ps f PID TTY STAT TIME COMMAND 28867 pts/0 Ss 0:00 -zsh 20079 pts/0 R+ 0:00 \_ ps f 20076 pts/0 S 0:00 perl -T -I/home/imacat/.cpan/build/Carp-Assert-0.20-Y imacat@rinse tmp/Catalyst-View-Reproxy-0.05 %