Subject: | tests fail, port in use. |
t/01-httpd.t and t/02-multiport.t both use test::tcp's default port.
I believe that the problem is that even after a server has shut down the port is was using is still in a cleanup phase and not available for reuse.
t/02* was trying to reuse port 10001 too quickly.
On my mac (OS X 10.9.5) I can get them to pass by adding a 'port => 10001,' to the test_tcp invocation in t/01-httpd.t and a `port => 10002` to the invocation in t/02-multiport.t.
Tests will still fail if you `make test` repeatedly. Only solution I see it to use a random-ish port.