Subject: | Tests fail if port 8080 is taken |
On some of my smokers I see the following test failure:
...
# Failed test 'start http server'
# at t/003-bot.t line 103.
# HTTP::Server::Simple->background failed: bind to *:8080: Address already in use at /opt/perl-5.25.10/lib/5.25.10/NEXT.pm line 95.
uri required at /opt/perl-5.25.10/lib/site_perl/5.25.10/SWISH/Prog/Aggregator/Spider.pm line 1118.
t/003-bot.t .......
Failed 2/8 subtests
...
It's quite common to have an alternative web server running on port 8080, so probably the test should choose another port (maybe using techniques like https://metacpan.org/pod/Net::EmptyPort ).