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