Fix waiting for the server to start in t/author/http-server.t
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Fri, 24 May 2013 21:39:19 +0000 (22:39 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Fri, 24 May 2013 21:42:53 +0000 (22:42 +0100)
commita526c982f02435e4592256848c679c473ea57b4b
tree8b76f140f082296b116b1baec415b459fda4c974
parentcc66256716f67b2866a800fd6c99b126f379422d
Fix waiting for the server to start in t/author/http-server.t

Use Net::EmptyPort directly, since we don't need any of the actual
testing stuff from Test::TCP. This also lets us control the sleep
interval and retries, so we don't have to loop ourselves as well.

Net::EmptyPort started exporting wait_port in 1.27, but doesn't have a
$VERSION of its own, so declare the author dependency on Net::TCP 1.27.
Changes
Makefile.PL
t/author/http-server.t