X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fauthor%2Fhttp-server.t;h=2861c275ce9d12ae06c3ccc0830fa61005bf676f;hb=dad411d91fa8afea93dcaef234abbde6c3dc0fa2;hp=7f886ca64dd93ff50d9b5295dda0261702ad0751;hpb=a526c982f02435e4592256848c679c473ea57b4b;p=catagits%2FCatalyst-Runtime.git 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"; }