http-server
http-server copied to clipboard
Intermittent test failures
Steps to reproduce the issue, if applicable. Include the actual command and output and/or stack trace.
Occasional errors in GH Actions running the test suite. I suspect this port may be higher than is actually supported? Or maybe we have tests which are using the same port?
EACCES: permission denied 0.0.0.0:49796
Ports that have failed so far:
- 49779
- 49796
Tell us about your environment
- exact http-server version: 13.0.0
- Node version: Various
- Platform: Various
Thought I fixed this, and while I did make it better, it's still there. It tends to happen on more normal ports though:
1) test/express-error.test.js express listen EADDRINUSE: address already in use :::8000:
Error: listen EADDRINUSE: address already in use :::8000
at Error:
at test/express-error.test.js:34:12
The addition of Node v17 testing has made this fail on every run now, so this issue has jumped to top priority as it blocks all future releases
This issue has been inactive for 180 days