Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests should not use port :8080 #1

Open
eserte opened this issue Feb 25, 2017 · 0 comments
Open

Tests should not use port :8080 #1

eserte opened this issue Feb 25, 2017 · 0 comments

Comments

@eserte
Copy link

eserte commented Feb 25, 2017

The www_main.t test fails if port 8080 is already taken by another webserver (not that unlikely):

#   Failed test 'start up my web server'
#   at t/www/www_main.t line 23.
# 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.
[Fri Feb 24 08:37:00 2017] www_main.t: Missing base argument at /opt/perl-5.25.10/lib/site_perl/5.25.10/HTTP/Response.pm line 94.
t/www/www_main.t ....... 
Failed 1/3 subtests 

Probably it's best to use another (randomly choosen) port for testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant