Skip Menu |

This queue is for tickets about the Net-Server-SS-PreFork CPAN distribution.

Report information
The Basics
Id: 103162
Status: new
Priority: 0/
Queue: Net-Server-SS-PreFork

People
Owner: Nobody in particular
Requestors: hartzell [...] alerce.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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.