GeezerVison is showing github.com — Use a port picker to prevent port reuse · Issue #49 · GoogleCloudPlatform/nodejs-docs-samples
Use a port picker to prevent port reuse #49Labels 🚨This issue needs some love.triage meI really want to be triaged. DescriptionWhen running npm test, at least one test appears to hold on to port 8080 causing later tests to fail.
Rather than using port 8080 for all tests a port picker should be used for each test so that they don't interfere with each other. Activityjmdobry commented on Dec 14, 2015 What platform are you running the tests on? Also, how fast of a machine? I wonder if it isn't a race condition. jmdobry commented on Dec 14, 2015 So I figured it out (and this is why I need to add instructions), but one of the tests attempts to connect to Redis, and another attempts to connect to memcached. Without both of those running, you'll get the Error: bind EADDRINUSE null:8080 error. added a commit that references this issue on Dec 14, 2015This issue will close once commit 03f438e is merged into the 'main' branch.03f438e added a commit that references this issue on Dec 14, 2015This issue will close once commit dade986 is merged into the 'main' branch.dade986
MetadataMetadata🚨This issue needs some love.triage meI really want to be triaged. DevelopmentNo branches or pull requestsIssue actions
|