Subject: | Hangs on some systems after "Failed test 'Server started'" |
I get the necessary diagnostics by adding this line to t/test_helper.pl before the fail("Server started"):
Test::More::diag("Error while starting server: $server");
The output of the failing server start is then:
t/01_counter.t ................ 1/15 # Error while starting server: Please contact me at: http://[::1]:42915/
This reveals that the regexp in line 32 of t/test_helper.pl to capture the port is flawed. I assumes that a hostname cannot contain a colon. But on IPv6 it may, as you can see above.
When this happens, the rest of the test waits forever and does not even fail.