| 1 |
Description: Fix port already in use test failure |
| 2 |
Between the IPv4 and IPv6 tests we need to bump the port number |
| 3 |
to prevent the test suite failing and consequently hanging the |
| 4 |
build process |
| 5 |
Author: Daniel Lintott <[email protected]> |
| 6 |
Forwarded: https://rt.cpan.org/Ticket/Display.html?id=96086 |
| 7 |
Last-Update: 2014-05-30 |
| 8 |
--- a/t/01live.t |
| 9 |
+++ b/t/01live.t |
| 10 |
@@ -48,6 +48,7 @@ |
| 11 |
my @classes = (qw(HTTP::Server::Simple SlowServer)); |
| 12 |
for my $class (@classes) { |
| 13 |
run_server_tests($class, AF_INET); |
| 14 |
+ $PORT++; |
| 15 |
run_server_tests($class, AF_INET6) if $RUN_IPV6; |
| 16 |
$PORT++; # don't reuse the port incase your bogus os doesn't release in time |
| 17 |
} |