X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=t%2Fauthor%2Fhttp-server.t;fp=t%2Fauthor%2Fhttp-server.t;h=2861c275ce9d12ae06c3ccc0830fa61005bf676f;hp=7f886ca64dd93ff50d9b5295dda0261702ad0751;hb=310e2c0b68a06d484fb469c6fc35c5afd2d54f2b;hpb=551068cfd29b252658de18655ac4bc193ccd5b56 diff --git a/t/author/http-server.t b/t/author/http-server.t index 7f886ca..2861c27 100644 --- a/t/author/http-server.t +++ b/t/author/http-server.t @@ -2,6 +2,7 @@ use strict; use warnings; use Test::More tests => 1; +use Test::TCP; use File::Path; use FindBin; @@ -96,7 +97,7 @@ if ($^O eq 'MSWin32') { sub wait_port_timeout { my ($port, $timeout) = @_; - wait_port($port, 0.1, $timeout * 10) and return; + wait_port($port, $timeout * 10) and return; die "Server did not start within $timeout seconds"; }