Skip Menu |

This queue is for tickets about the POE-Component-Server-SimpleHTTP CPAN distribution.

Report information
The Basics
Id: 35993
Status: resolved
Worked: 120 hours (7200 min)
Priority: 0/
Queue: POE-Component-Server-SimpleHTTP

People
Owner: BINGOS [...] cpan.org
Requestors: martin.ferrari [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in:
  • 1.42
  • 1.46
Fixed in: (no value)



Subject: Sometimes tests fail
Hi, While preparing PoCo-Server-SimpleHTTP for the Debian Perl Group I discovered by chance that sometimes tests fail. I had to run make test in a loop to reproduce the error. It should be noted that I can reproduce the problem both in perl 5.8.8 and 5.10.0. The tests that fail here are t/05_run.t and t/11_keepalive.t. $ while perl -Iblib/arch -Iblib/lib t/11_keepalive.t; do :; done ... 1..18 ok 1 - on_close with 2 arguments ok 2 - First is the wheel ID=3 ok 3 - ... with some extra data ok 4 - Second is a string not ok 5 - Got some test results # Failed test 'Got some test results' # in t/11_keepalive.t at line 90. # Looks like you planned 18 tests but only ran 5. # Looks like you failed 1 test of 5 run. $ while perl -Iblib/arch -Iblib/lib t/05_run.t; do :; done ... 1..22 ok 1 - on_close with 2 arguments ok 2 - First is the wheel ID=4 ok 3 - ... with some extra data ok 4 - Second is a string ok 5 - on_close with 2 arguments ok 6 - First is the wheel ID=8 ok 7 - ... with some extra data ok 8 - Second is a string # Looks like you planned 22 tests but only ran 8. Thanks, Tincho.
From: mbailey [...] cpan.org
Thanks for your bug Martin, I've been away from my co-maint duties since switching jobs, I will take a look at it this weekend May(23-25). _Marlon_ On Mon May 19 01:31:18 2008, martin.ferrari@gmail.com wrote: Show quoted text
> Hi, > > While preparing PoCo-Server-SimpleHTTP for the Debian Perl Group I > discovered by chance that sometimes tests fail. I had to run make test > in a loop to reproduce the error. It should be noted that I can > reproduce the problem both in perl 5.8.8 and 5.10.0. > > The tests that fail here are t/05_run.t and t/11_keepalive.t. > > $ while perl -Iblib/arch -Iblib/lib t/11_keepalive.t; do :; done > ... > > 1..18 > ok 1 - on_close with 2 arguments > ok 2 - First is the wheel ID=3 > ok 3 - ... with some extra data > ok 4 - Second is a string > not ok 5 - Got some test results > # Failed test 'Got some test results' > # in t/11_keepalive.t at line 90. > # Looks like you planned 18 tests but only ran 5. > # Looks like you failed 1 test of 5 run. > > $ while perl -Iblib/arch -Iblib/lib t/05_run.t; do :; done > ... > > 1..22 > ok 1 - on_close with 2 arguments > ok 2 - First is the wheel ID=4 > ok 3 - ... with some extra data > ok 4 - Second is a string > ok 5 - on_close with 2 arguments > ok 6 - First is the wheel ID=8 > ok 7 - ... with some extra data > ok 8 - Second is a string > # Looks like you planned 22 tests but only ran 8. > > > Thanks, Tincho.
Hi: I'm curious what progress (if any) has been made with this report, since I'm now working on upgrading to version 2.0. On Mon May 19 13:35:29 2008, MBAILEY wrote: Show quoted text
> Thanks for your bug Martin, I've been away from my co-maint duties since > switching jobs, I will take a look at it this weekend May(23-25). > > _Marlon_ > On Mon May 19 01:31:18 2008, martin.ferrari@gmail.com wrote:
> > Hi, > > > > While preparing PoCo-Server-SimpleHTTP for the Debian Perl Group I > > discovered by chance that sometimes tests fail. I had to run make test > > in a loop to reproduce the error. It should be noted that I can > > reproduce the problem both in perl 5.8.8 and 5.10.0. > > > > The tests that fail here are t/05_run.t and t/11_keepalive.t. > > > > $ while perl -Iblib/arch -Iblib/lib t/11_keepalive.t; do :; done > > ... > > > > 1..18 > > ok 1 - on_close with 2 arguments > > ok 2 - First is the wheel ID=3 > > ok 3 - ... with some extra data > > ok 4 - Second is a string > > not ok 5 - Got some test results > > # Failed test 'Got some test results' > > # in t/11_keepalive.t at line 90. > > # Looks like you planned 18 tests but only ran 5. > > # Looks like you failed 1 test of 5 run. > > > > $ while perl -Iblib/arch -Iblib/lib t/05_run.t; do :; done > > ... > > > > 1..22 > > ok 1 - on_close with 2 arguments > > ok 2 - First is the wheel ID=4 > > ok 3 - ... with some extra data > > ok 4 - Second is a string > > ok 5 - on_close with 2 arguments > > ok 6 - First is the wheel ID=8 > > ok 7 - ... with some extra data > > ok 8 - Second is a string > > # Looks like you planned 22 tests but only ran 8. > > > > > > Thanks, Tincho.
> >
On Wed Sep 23 12:17:41 2009, FREQUENCY wrote: Show quoted text
> Hi: > > I'm curious what progress (if any) has been made with this report, since > I'm now working on upgrading to version 2.0. >
All the tests got completely refactored sometime around version 1.52 -> 1.53 The entire module has been since completely refactored. Going out on a limb here and reckon this is resolved. Cheers.