Skip Menu |

This queue is for tickets about the Starlet CPAN distribution.

Report information
The Basics
Id: 80064
Status: open
Priority: 0/
Queue: Starlet

People
Owner: Nobody in particular
Requestors: lxp [...] cpan.org
nygel [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in:
  • 0.16
  • 0.21
Fixed in: (no value)



Subject: server startup timeout in 00base.t
Hi, Had an issue building 0.16 of Starlet. Essentially 00base.t was failing two tests : ok($response->is_success, "request successfull"); is($response->content, 'hello', 'content is hello'); With "Connection refused" with the get was attempted. The issue turned out to be the preceding "sleep 1;" line. I was running the build on a virtual machine within Oracle vbox, it seems 1 second wasn't quite enough time for the starlet server to startup. Upping this to 2 seconds resolved the issue. Might be worth upping this a touch for users running on slower machines. Cheers
I'm also facing the same problem on my Raspberry Pi. Changing to 'sleep 2' solved the issue, thanks to NYGEL. 在 2012年10月9日周二 上午02:58:58 時,NYGEL 寫到: Show quoted text
> Hi, > > Had an issue building 0.16 of Starlet. > > Essentially 00base.t was failing two tests : > > ok($response->is_success, "request successfull"); > is($response->content, 'hello', 'content is hello'); > > With "Connection refused" with the get was attempted. > > The issue turned out to be the preceding "sleep 1;" line. > > I was running the build on a virtual machine within Oracle vbox, it > seems 1 second wasn't quite enough time for the starlet server to > startup. Upping this to 2 seconds resolved the issue. > > Might be worth upping this a touch for users running on slower machines. > > Cheers
On Wed Oct 24 01:31:09 2012, BLUET wrote: Show quoted text
> I'm also facing the same problem on my Raspberry Pi. > Changing to 'sleep 2' solved the issue, thanks to NYGEL.
This problem persists in Starlet v0.21. Doubling the sleep time also solved the problem for me.