http-server icon indicating copy to clipboard operation
http-server copied to clipboard

Intermittent test failures

Open thornjad opened this issue 2 years ago • 3 comments

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

thornjad avatar Aug 17 '21 14:08 thornjad

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

thornjad avatar Oct 11 '21 15:10 thornjad

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

thornjad avatar Oct 20 '21 14:10 thornjad

This issue has been inactive for 180 days

github-actions[bot] avatar Apr 19 '22 12:04 github-actions[bot]