Subject: | Tests fail if port 8080 is taken |
On some of my smokers tests fail like this:
...
bind: Address already in use at /opt/perl-5.25.10/lib/site_perl/5.25.10/AnyEvent/HTTPD/HTTPServer.pm line 61.
# Looks like your test exited with 98 before it could output anything.
t/01_help.t .....
Dubious, test returned 98 (wstat 25088, 0x6200)
Failed 3/3 subtests
...
A list of such fail reports at CPAN Testers: <http://analysis.cpantesters.org/reports_by_field?distv=Hubot-0.2.8;field=qr%3A%28Address%20already%20in%20use%29>
Probably the tests should not hardcode port 8080, but use a random one, or better make sure that the chosen port is still free.