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=5ac4489bfa64abef6f956b7228e813ef9b6ba055;hpb=11d52bbdb4fccbe1678d869494acb9d43ae83c99 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"; }