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